@kanunilabs/pivotgrid-enterprise
@kanunilabs/pivotgrid-enterprise / PivotServerSourceOptions
Interface: PivotServerSourceOptions
Properties
cacheSize?
optionalcacheSize?:number
Answers kept per distinct request, so closing a group and opening it again, or switching totals, does not ask again. Default 16; 0 turns the cache off.
load
load: (
request) =>Promise<PivotServerResponse>
Answer a request — usually one call to your API.
Parameters
request
Returns
Promise<PivotServerResponse>
loadFieldValues?
optionalloadFieldValues?: (field) =>Promise<unknown[]>
Every value of a field, for the header filter's checklist. Optional.
Parameters
field
Returns
Promise<unknown[]>