Pivot Navigation & Limits
Pivot result cells use dedicated result-address APIs and enforce strict column and mutation boundaries.
Navigation & Selection APIs
Section titled “Navigation & Selection APIs”grid.getDisplayedPivotNode(index)— returnsPivotResultNode | undefinedat displayindex.grid.setPivotGroupExpanded(row, expanded)— expands or collapses a pivot group row (expandAllGroupsandcollapseAllGroupsalso apply).grid.setFocusedPivotCell(cell, options?)/grid.ensurePivotCellVisible(cell)— focus and scroll usingPivotResultCellAddress.grid.setPivotCellRange(anchor, focus, add?)— selects rectangular pivot cell ranges (getSelectionState()returnsSelectionStateV3).
Limits & Feature Restrictions
Section titled “Limits & Feature Restrictions”pivotColumnLimit: Defaults to256generated measure columns (including row totals). Adjust between1and4,096viagrid.setPivotColumnLimit(limit). Inactive generated column states are retained in a512-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,detailrows, full-width rows, and data export (exportData/downloadExport/export-*body menu items are disabled in pivot mode). - Pinned Totals: Use
pinnedTotalsto copy or move complete pivot totals into pinned top/bottom regions.