API REFERENCE
SyGridRowEditReport
Fields, allowed values, and APIs that use SyGridRowEditReport.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface SyGridRowEditReport {
status: 'committed' | 'rejected' | 'cancelled' | 'none';
mutationId: GridMutationId | null;
writtenCount: number;
rejectedCells: ReadonlyArray<SyGridEditRejectedCell>;
rowInvalid: {
cellReasons: Readonly<Record<string, string>> | null;
rowReason: string | null;
} | null;
droppedCount: number;
transactionRejectedRowIds: ReadonlyArray<GridRowId>;
}APIs using this type
- stopRowEdit
Commits or cancels current row editing and returns a report.