UseEditResult
Props
The following table outlines the props for the UseEditResult:
| Name | Type | Default | Description |
|---|---|---|---|
| batchEditModule | - | Exposes the batch staging module to virtualized row rendering. @private | |
| batchState | - | Public batch state snapshot for consumers. | |
| cancelBatchChanges | ( ) => Promise<void> | - | Discards all staged Batch mode changes. |
| getBatchQueue | ( ) => StagedRowData<T>[] | - | Returns all pending staged Batch mode rows. |
| getConfirmBatch | ( ) => Promise<boolean> | - | Checks whether a Batch mode save should be blocked because there are unsaved pending changes. |
| hasBatchChanges | ( ) => boolean | - | Indicates whether Batch mode contains staged changes. @private |
| isBatchCellDirty | (rowKey: string | number, fieldName: string) => boolean | - | Returns whether a Batch mode cell has a staged change. @private |
| isBatchRowDirty | (rowKey: string | number) => boolean | - | Returns whether a Batch mode row has any staged changes. @private |
| saveBatchChanges | ( ) => Promise<boolean> | - | Commits all staged Batch mode changes. |