@jsvision/datagrid / CellCommit
Interface: CellCommit<T, V>
Defined in: datagrid/src/commit.ts:14
The change described to an OnCommit sink: which cell changed, its new and previous values, and the (already-updated) row.
Type Parameters
T
T
V
V = unknown
Properties
columnId
readonlycolumnId:string
Defined in: datagrid/src/commit.ts:18
Id of the edited column.
previous
readonlyprevious:V
Defined in: datagrid/src/commit.ts:22
The value before the edit (restored on veto).
row
readonlyrow:T
Defined in: datagrid/src/commit.ts:24
The row record (already updated to value).
rowKey
readonlyrowKey:string|number
Defined in: datagrid/src/commit.ts:16
Stable key of the edited row.
value
readonlyvalue:V
Defined in: datagrid/src/commit.ts:20
The new value (already applied to the record).