Skip to content

TooltipConfig

Since v1.28.0

Configuration for the Tooltip plugin.

// Enable both header and cell tooltips (default)
new TooltipPlugin()
// Header tooltips only
new TooltipPlugin({ cell: false })
// Disable all tooltips temporarily
new TooltipPlugin({ header: false, cell: false })
PropertyTypeDescription
header?booleanEnable automatic header tooltips when text overflows. Individual columns can override with headerTooltip.
cell?booleanEnable automatic cell tooltips when text overflows. Individual columns can override with cellTooltip.
focus?booleanShow the tooltip for the focused cell during keyboard navigation, so truncated content is reachable without a pointer — WCAG 2.2 SC 1.4.13 Content on Hover or Focus. v3.6.0+
hideDelay?numberGrace period in milliseconds before a tooltip hides once the pointer leaves its cell. Gives the pointer time to travel onto the tooltip itself, which SC 1.4.13 requires so its content can be read, magnified, or selected. Set to 0 to hide immediately. v3.6.0+

Default: true


Default: true


Show the tooltip for the focused cell during keyboard navigation, so truncated content is reachable without a pointer — WCAG 2.2 SC 1.4.13 Content on Hover or Focus.

Only keyboard navigation triggers this; clicking a cell with a pointer never does, so mouse users see no change. Set to false to opt out — note that doing so forfeits the SC 1.4.13 “focus” path.

Default: true


Default: 120