@jsvision/datagrid / RenderCell
Interface: RenderCell<T, V>
Defined in: datagrid/src/cell-draw.ts:12
The per-cell paint state handed to a custom renderer (read-only).
Type Parameters
T
T
V
V
Properties
row
readonlyrow:T
Defined in: datagrid/src/cell-draw.ts:22
The row record.
state
readonlystate:CellState
Defined in: datagrid/src/cell-draw.ts:24
Which composited states are active on this cell.
value
readonlyvalue:V
Defined in: datagrid/src/cell-draw.ts:20
The cell's typed value.
width
readonlywidth:number
Defined in: datagrid/src/cell-draw.ts:18
Cell width in columns.
x
readonlyx:number
Defined in: datagrid/src/cell-draw.ts:14
Cell rect origin x, body-local (metrics only — the ctx origin is already the cell).
y
readonlyy:number
Defined in: datagrid/src/cell-draw.ts:16
Cell rect origin y, body-local.