Skip to content

Interface: CellContext\<TRow\>

Defined in: src/model/types.ts:8

Context passed to a custom cell renderer.

Type Parameters

TRow

TRow

Properties

column

column: ColumnDef<TRow>

Defined in: src/model/types.ts:14

The column definition this cell belongs to.


row

row: TRow

Defined in: src/model/types.ts:10

The row’s underlying data object.


rowIndex

rowIndex: number

Defined in: src/model/types.ts:16

Zero-based index of the row in the current row model.


value

value: unknown

Defined in: src/model/types.ts:12

The value for this cell, read via the column’s accessor.