@kanunilabs/datagrid-react-enterprise
@kanunilabs/datagrid-react-enterprise / SaveResult
Interface: SaveResult<TRow>
Type Parameters
TRow
TRow = GridRowData
Properties
changes
changes:
RowChange<TRow>[]
columnId?
optionalcolumnId?: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?
optionalerror?:string
Populated when a save handler or validation rejected the batch.
rowKey?
optionalrowKey?:RowKey
saved
saved:
boolean
superseded?
optionalsuperseded?:boolean
True when a newer save superseded this one.