Skip to content

Pivot Navigation & Limits

Pivot result cells use dedicated result-address APIs and enforce strict column and mutation boundaries.

  • grid.getDisplayedPivotNode(index) — returns PivotResultNode | undefined at display index.
  • grid.setPivotGroupExpanded(row, expanded) — expands or collapses a pivot group row (expandAllGroups and collapseAllGroups also apply).
  • grid.setFocusedPivotCell(cell, options?) / grid.ensurePivotCellVisible(cell) — focus and scroll using PivotResultCellAddress.
  • grid.setPivotCellRange(anchor, focus, add?) — selects rectangular pivot cell ranges (getSelectionState() returns SelectionStateV3).
  • pivotColumnLimit: Defaults to 256 generated measure columns (including row totals). Adjust between 1 and 4,096 via grid.setPivotColumnLimit(limit). Inactive generated column states are retained in a 512-entry LRU cache keyed by semantic schema.
  • Read-Only Result Cells: Pivot result cells support clipboard copy, but disallow inline editing, paste, cut, delete, fill, row selection, cellSpans, detail rows, full-width rows, and data export (exportData / downloadExport / export-* body menu items are disabled in pivot mode).
  • Pinned Totals: Use pinnedTotals to copy or move complete pivot totals into pinned top/bottom regions.