PivotColumnContext
Read-only metadata supplied to value-column customization. Templates receive pivot result rows.
Props
The following table outlines the props for the PivotColumnContext:
| Name | Type | Default | Description |
|---|---|---|---|
| column | Readonly<ColumnProps<PivotResultRow>> | - | Generated definition before customization. |
| measure | Readonly<PivotMeasureMetadata> | - | Source measure and aggregate. |
| path | ReadonlyArray<Readonly<PivotAxisPath[number]>> | - | Typed column-axis members. |
| sourceColumn | Readonly<ColumnProps<T>> | - | Source measure definition, when available. |
| totalKind | - | Detail, subtotal or grand total. |