Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / RowTemplateContext

Interface: RowTemplateContext<TRow>

What a row template is handed — the React RowTemplateContext.

Type Parameters

TRow

TRow

Properties

focused

focused: boolean

True when this is the focused row (focusedRow is on).


node

node: RowNode<TRow>


row

row: TRow


rowIndex

rowIndex: number

Position in the current view, not in the source array.


selected

selected: boolean