Skip to content

PivotColRole

type PivotColRole = object;
col: number;

kind: "subheading" | "subtotal";

Always 'subtotal': the column axis has no outline/separator placement (column subtotals always sit right-of-group), so there is no column-subheading row-axis analog. The union keeps parity with PivotRowRole and the renderer’s type.


level: number;

1-based column-field nesting level (1 = outermost).