API reference: @salmonui/pivot-table/engine
PivotAxisFieldinterface
import type { PivotAxisField } from '@salmonui/pivot-table/engine';Also exported from @salmonui/pivot-table.
interface PivotAxisField {
readonly field: string;
readonly caption?: string;
readonly showSubTotals?: boolean;
}
A field placed on the rows, columns or filters axis.
| Name | Signature | Description |
|---|---|---|
field | readonly field: string; | |
captionoptional | readonly caption?: string; | |
showSubTotalsoptional | readonly showSubTotals?: boolean; | Per-field subtotal visibility; overrides |