WarUI

Cell and header tooltips

GRID-A07-F22P1baselinePlanned

Columns can define a `tooltip` as a field, a function or a framework template. Header tooltips are configured separately. Tooltips show on hover after a delay and on keyboard focus, and can be dismissed with Escape. An 'overflow only' mode shows them only when text is truncated.

Planned. This page shows the specification from issue #184. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A product grid with tooltips on Description (overflow-only) and on the header of the Margin column.

Expected behavior

Tooltips appear after the delay on hover or focus. Overflow mode suppresses them for text that fits. Escape hides them.

Planned API surface

tooltiptooltipRendererheaderTooltiptooltipModetooltipDelaytooltipPlacement

Acceptance criteria

  • Only one tooltip is visible at a time. (pending)
  • The tooltip remains visible while hovered (WCAG 1.4.13: hoverable, dismissable, persistent). (pending)
  • Tooltip content is escaped unless a template is used. (pending)
  • Tooltips reposition to stay within the viewport. (pending)