@kanunilabs/datagrid / RowTemplateContext
Interface: RowTemplateContext<TRow>
Defined in: datagrid/src/createGrid.ts:183
What a row template is handed — the React RowTemplateContext.
Type Parameters
TRow
TRow
Properties
focused
focused:
boolean
Defined in: datagrid/src/createGrid.ts:190
True when this is the focused row (focusedRow is on).
node
node:
RowNode<TRow>
Defined in: datagrid/src/createGrid.ts:185
row
row:
TRow
Defined in: datagrid/src/createGrid.ts:184
rowIndex
rowIndex:
number
Defined in: datagrid/src/createGrid.ts:187
Position in the current view, not in the source array.
selected
selected:
boolean
Defined in: datagrid/src/createGrid.ts:188