API reference: @salmonui/data/json
RemotePivotEngineOptionsinterface
import type { RemotePivotEngineOptions } from '@salmonui/data/json';Also exported from @salmonui/data.
interface RemotePivotEngineOptions {
readonly model?: WirePivotModel;
readonly where?: WirePredicate;
readonly locale?: string;
readonly window?: WirePivotWindow;
readonly overscan?: {
readonly rows?: number;
readonly columns?: number;
};
readonly maxBlocks?: number;
readonly formatValue?: (value: number, measure: string | null, model: WirePivotModel) => string;
}
| Name | Signature | Description |
|---|---|---|
modeloptional | readonly model?: WirePivotModel; | |
whereoptional | readonly where?: WirePredicate; | Pre-aggregation filter over raw rows. |
localeoptional | readonly locale?: string; | |
windowoptional | readonly window?: WirePivotWindow; | First window. Default 100 rows × 50 columns. |
overscanoptional | readonly overscan?: {
readonly rows?: number;
readonly columns?: number;
}; | Positions loaded beyond a requested window on each side. Default 40 rows, 10 columns. |
maxBlocksoptional | readonly maxBlocks?: number; | Loaded windows kept per result. Default 16. |
formatValueoptional | readonly formatValue?: (value: number, measure: string | null, model: WirePivotModel) => string; | Cell text (default: |