DataUpdateConfig

View as Markdown

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 interface

Properties

PropertyTypeDescription
addIndexnumberIndex where to add new rows
callback(res: any) => voidCallback function invoked when a batch successfully concludes
flushAsyncbooleanWhether to flush async operations
runAsyncbooleanWhether 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