PivotColumnContext

Read-only metadata supplied to value-column customization. Templates receive pivot result rows.

Props

The following table outlines the props for the PivotColumnContext:

NameTypeDefaultDescription
column
-

Generated definition before customization.

measure
-

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.