Documentation

@kanunilabs/datagrid-enterprise


@kanunilabs/datagrid-enterprise / SaveResult

Interface: SaveResult<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

changes

changes: RowChange<TRow>[]


columnId?

optional columnId?: string

Which cell the rejection is about, when validation is what refused.

The message alone ("Required") is useless on a grid of fifteen columns — the caller needs to be able to point at the field.


error?

optional error?: string

Populated when a save handler or validation rejected the batch.


rowKey?

optional rowKey?: RowKey


saved

saved: boolean


superseded?

optional superseded?: boolean

True when a newer save superseded this one.