Skip to content

@jsvision/datagrid / CellState

Interface: CellState ​

Defined in: datagrid/src/cell-draw.ts:28

Which composited states are active on the cell being rendered.

Properties ​

dirty ​

readonly dirty: boolean

Defined in: datagrid/src/cell-draw.ts:34

A pending commit.


focused ​

readonly focused: boolean

Defined in: datagrid/src/cell-draw.ts:30

The cursor cell (the body has focus).


invalid ​

readonly invalid: boolean

Defined in: datagrid/src/cell-draw.ts:36

A blocked commit — the last edit failed validation / a veto and never took.


selected ​

readonly selected: boolean

Defined in: datagrid/src/cell-draw.ts:32

The selected row (dormant until row selection lands).


zebra ​

readonly zebra: boolean

Defined in: datagrid/src/cell-draw.ts:38

An odd zebra stripe.