I would like for an item in a DetailsList to show a tooltip when there isn't enough space to be fully visible. It allows the content on the cell to be read without the need to increase the size.
No

Given this is a common scenario and needed for accessibility, it seems reasonable to add to DetailsList.
However, as usual it's far more involved to add something like this by default for all clients of DetailsList. Therefore, in the meantime, this can be accomplished by using a custom render function and wrapping the item with a TooltipHost that has this prop: overflowMode={TooltipOverflowMode.Parent}.
Example:
// This custom Item Render function adds a TooltipHost that only shows the tooltip
// when the parent element overflows with content
function customItemRender(item) {
return (
<TooltipHost id={item.key} content={item.name} overflowMode={TooltipOverflowMode.Parent}>
<span aria-describedby={item.key}>{item.name}</span>
</TooltipHost>
);
}
CodePen: https://codepen.io/justslone-the-encoder/pen/bGpQdQj?editors=0010
Given this is a common scenario and needed for accessibility, it seems reasonable to add to DetailsList.
However, as usual it's far more involved to add something like this by default for all clients of DetailsList. Therefore, in the meantime, this can be accomplished by using a custom render function and wrapping the item with a TooltipHost that has this prop:
overflowMode={TooltipOverflowMode.Parent}.Example:
// This custom Item Render function adds a TooltipHost that only shows the tooltip // when the parent element overflows with content function customItemRender(item) { return ( <TooltipHost id={item.key} content={item.name} overflowMode={TooltipOverflowMode.Parent}> <span aria-describedby={item.key}>{item.name}</span> </TooltipHost> ); }CodePen: https://codepen.io/justslone-the-encoder/pen/bGpQdQj?editors=0010
Alright, this will have to do at the moment. Thank you @JustSlone
Most helpful comment
Given this is a common scenario and needed for accessibility, it seems reasonable to add to DetailsList.
However, as usual it's far more involved to add something like this by default for all clients of DetailsList. Therefore, in the meantime, this can be accomplished by using a custom render function and wrapping the item with a TooltipHost that has this prop:
overflowMode={TooltipOverflowMode.Parent}.Example:
CodePen: https://codepen.io/justslone-the-encoder/pen/bGpQdQj?editors=0010