View as Markdown

API reference: @salmonui/pivot-table/engine

PivotWorkerEngineOptionstype

import type { PivotWorkerEngineOptions } from '@salmonui/pivot-table/engine';
type PivotWorkerEngineOptions = Omit<PivotEngineOptions<unknown>, 'data' | 'customAggregates' | 'getCellValue'> & {
    readonly data: readonly unknown[];
    readonly chunkSize?: number;
};
PivotWorkerEngineOptions members (6, 6 inherited)
NameSignatureDescription
fieldsoptionalinheritedfields?: readonly PivotFieldDefinition<unknown>[];

Inferred from the first rows when omitted.

modeloptionalinheritedmodel?: PivotModelInput;
localeoptionalinheritedlocale?: string;
textoptionalinheritedtext?: PivotEngineText;
datainheriteddata: readonly unknown[];
chunkSizeoptionalinheritedchunkSize?: number;

Rows per transfer message (default 20,000).