@kanunilabs/datagrid-react / GridTooltipConfig
Interface: GridTooltipConfig
Grid-wide tooltip behaviour (P2.1).
Properties
delay?
optionaldelay?:number
Milliseconds of hover before it appears. Default 400 — long enough that sweeping the pointer across a grid does not strobe, short enough to feel like an answer rather than a wait.
enabled?
optionalenabled?:boolean
Off entirely, truncation fallback included. Default true.
interactive?
optionalinteractive?:boolean
Let the pointer move onto the tooltip (P-TOOL-01): it stays open while the pointer is on it, so its text can be selected and a link in it clicked. Default false — a tooltip that steps out of the way of the pointer.
showOnTruncation?
optionalshowOnTruncation?:boolean
Show the full text when a cell's content is clipped. Default true; this is the behaviour the column API exists to override, not the other way round.
trigger?
optionaltrigger?:"focus"|"hover"|"both"
What opens a cell's tooltip (P-TOOL-01). 'hover' (default): the mouse
resting on it. 'focus': the cell taking keyboard focus — arrowing onto
it, or tapping it on a touch screen, where there is no hover. 'both'.
A focus tooltip is tied to its cell with aria-describedby, so a screen
reader reads it with the cell; Escape closes it.