The grid (rendering) ยท console.warn
Column '{colId}' cell.tooltip render returned a value that is not an element, a { title, rows, note } spec, a { html } wrapper or a string, so nothing was shown.
Printed by The grid (rendering), prefixed [lattice], since 1.59.0.
Warnings reference › tooltip-content:*
- Identifier
tooltip-content:*- Raised by
- The grid (rendering)
- Since
- 1.59.0
What happened
The tooltip's render ran and returned something the tooltip cannot draw - a number, an array, a plain object with none of the recognised keys. No tooltip is shown for that cell.
The fix
Return one of the four supported shapes. The { title, rows, note } spec is the one that themes itself.
The smallest fix
cell: { tooltip: { render: (p) => ({ title: p.text, rows: [['Owner', p.row.data.owner]] }) } }
Reference
Covered in full at the API reference.