@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
rows?
optionalrows?:SaveRowError[]
The refused rows, one entry per row (or per cell) with its own message,
when the save handler threw a SaveRejected (P-1). Absent for every other
refusal - a plain Error or a validation rule - which, as before, fails the
package as a whole with the single error.
saved
saved:
boolean
superseded?
optionalsuperseded?:boolean
True when a newer save superseded this one. Saves are queued since 2026-09-30, so this is no longer produced; kept so code that checks it still compiles.