API reference: @salmonui/pivot-table/engine
PivotTotalsinterface
import type { PivotTotals } from '@salmonui/pivot-table/engine';interface PivotTotals {
readonly grand: 'both' | 'rows' | 'columns' | 'none';
readonly grandPosition: 'start' | 'end';
readonly sub: boolean | Readonly<Record<string, boolean>>;
readonly subPosition: 'start' | 'end' | 'auto';
}
| Name | Signature | Description |
|---|---|---|
grand | readonly grand: 'both' | 'rows' | 'columns' | 'none'; | |
grandPosition | readonly grandPosition: 'start' | 'end'; | |
sub | readonly sub: boolean | Readonly<Record<string, boolean>>; | |
subPosition | readonly subPosition: 'start' | 'end' | 'auto'; |