Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / RowClassNameContext

Interface: RowClassNameContext<TRow>

What rowClassName is told about a row (P-8).

Type Parameters

TRow

TRow = GridRowData

Properties

index

index: number

0-based position in the displayed rows (pinned rows: in their own block).


node

node: DataRowNode<TRow>


row

row: TRow

The row as it shows: with an editing grid's pending (unsaved) values.


rowKey

rowKey: RowKey


status

status: RowSaveStatus | null

Its save state (new, changed, removed, saving, saved, error), or null.