DataUpdateConfig
How a Grid API row update runs.
runAsync runs the update asynchronously. flushAsync waits for queued async updates to finish. addIndex is the row index for added rows. callback runs when the batch finishes.
TypeScript
export interfaceProperties
| Property | Type | Description |
|---|---|---|
| addIndex | number | Index where to add new rows |
| callback | (res: any) => void | Callback function invoked when a batch successfully concludes |
| flushAsync | boolean | Whether to flush async operations |
| runAsync | boolean | Whether row operation should happen asynchronously |
Property Details
addIndex
Index where to add new rows
TypeScript
addIndex?: number;Property Value
number
callback
Callback function invoked when a batch successfully concludes
TypeScript
callback?: (res: any) => void;Property Value
(res: any) => void
flushAsync
Whether to flush async operations
TypeScript
flushAsync?: boolean;Property Value
boolean
runAsync
Whether row operation should happen asynchronously
TypeScript
runAsync?: boolean;Property Value
boolean