UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

39 lines (38 loc) 773 B
/** * Object used to configure GridApi row management methods */ export interface DataUpdateConfig { /** * Whether row operation should happen asynchronously */ runAsync?: boolean; /** * Whether to flush async operations */ flushAsync?: boolean; /** * Callback function invoked when a batch successfully concludes */ callback?: (res: any) => void; /** * Index where to add new rows */ addIndex?: number; } /** * Config object using for passing in rows to manageGridData function */ export interface DataRowConfig { /** * Rows to add */ addRows?: any[]; /** * Rows to update */ updateRows?: any[]; /** * Rows to delete */ deleteRows?: any[]; }