Skip to content

@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 ​

readonly columnId: string

Defined in: datagrid/src/commit.ts:18

Id of the edited column.


previous ​

readonly previous: V

Defined in: datagrid/src/commit.ts:22

The value before the edit (restored on veto).


row ​

readonly row: T

Defined in: datagrid/src/commit.ts:24

The row record (already updated to value).


rowKey ​

readonly rowKey: string | number

Defined in: datagrid/src/commit.ts:16

Stable key of the edited row.


value ​

readonly value: V

Defined in: datagrid/src/commit.ts:20

The new value (already applied to the record).