View as Markdown

API reference: @salmonui/export/pivot

loadPivotResultfunction

import { loadPivotResult } from '@salmonui/export/pivot';
function loadPivotResult(source: PivotWindowSource, options?: {
    readonly windowCells?: number;
    readonly signal?: unknown;
}): Promise<PivotExportResult>;

Pages a window source into one in-memory result: all columns, row windows of windowCells cells. Values are kept as numbers (8 bytes per cell) and the cell text is kept per distinct value and measure.