AdaptableDataSourceConfig
Declared in src/dataSource/dataSourceConfig.ts
#Properties
#batchSizenumber
Server mode only: load each level in batches of this many rows - a batch is loaded when its rows scroll into view, and the data function gets batchStartIndex and batchSize.
Without it, each call returns a whole level: all the rows of a flat view, or the top-level groups, then all the children of a group when it is expanded. A pivot view without row groups has a single row, which is loaded in one call without batch params. Ignored in client mode.
#modeAdaptableDataSourceMode
Who executes the data operations: 'client' (default - the grid, on every row) or 'server' (the server; the grid loads the rows of each level on demand, by calling the data function).
#refetchOnboolean | AdaptableDataRefetchValues[]
Client mode only: the changes that call the data function again. It never changes who runs the operations - the grid still sorts, filters, groups and pivots the rows the function returns.
false(default): the function is only called initially.- an array of
sort/filter/groupBy/pivotBy/viewChange: called again when any of those change (viewChange: the current view switches). true: all of the above.
Not applicable in server mode, where every operation change and every view switch loads the data again.