SYIDAX / DATA GRID

Cell tooltips

Display truncated values or supporting descriptions over a cell.

Get started
Cell tooltipsSample order data
120 rows
Loading Grid…

Options

Changes below update the Grid and code immediately.

Latest result

Hover over a product name such as Atlas Sensor and wait briefly. Target an actual data cell, not the header.

View code
Current preview

Usage guide

#

Show truncated product names or supporting information when users hover over narrow cells.

Try it yourself

  1. Point to a product cell

    Hover over a product name such as Atlas Sensor and wait briefly. Target an actual data cell, not the header.

  2. Read supporting content

    Verify the tooltip's product name matches the order. Moving to another product changes its content.

  3. Compare column widths

    Narrow the Product column by dragging its header boundary, then hover again. Truncated values remain available in the tooltip.

Expected results

The row's product name appears in a tooltip.

Product currently uses tooltipField: product. Do not hide essential information exclusively in tooltips; make it readable for touch and keyboard users too.

Useful terms

tooltipField
The row data field read by a tooltip.
tooltipValueGetter
A function calculating tooltip content from row values.

API reference

#

Methods1
Method / ArgumentsReturn typeDescription
target: { rowIndex: number; field: string; displayedText?: string; isOverflowing?: boolean }
Promise<string>Resolve the tooltip text for a cell (overflow + tooltipField/tooltipValueGetter aware).
ColumnDef3
ColumnDefType / RequiredDescription
stringOptionaltooltip shown on header hover/focus. When omitted, a truncated (overflowing) header still shows its full text as a tooltip.
GridFieldPath<TData>OptionalRow field used as tooltip text before overflow fallback.
GridCallback<[ValueGetterParams<TData, TValue, TContext>], unknown> | stringOptionalComputed tooltip text. Wins over `tooltipField`.