PivotResult
Computed result of the pivot transformation.
Produced internally by the pivot engine after processing source rows
through the configured rowGroupFields, columnGroupFields, and valueFields.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
rows | PivotRow[] | Hierarchical pivot rows (group headers + leaf rows). |
columnKeys | string[] | Unique column keys derived from columnGroupFields values. |
totals | Record<string, number> | Per-column totals (keyed by column key). Present when showTotals is enabled. |
grandTotal | number | Grand total across all columns. Present when showGrandTotal is enabled. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt