(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Pivot Grid

Overview

Example Pivot Grid

Specs

Tokens

Token Description
displayName Display name in structure panel
id Unique identifier for programmatic access
titleTranslations Localized title text
subtitleTranslations Localized subtitle text
showBorders Toggle for borders around grid cells
allowFiltering Enables filtering of data
allowSorting Enables sorting of data
showColumnGrandTotals Toggle for grand totals in columns
showRowGrandTotals Toggle for grand totals in rows
showRowTotals Toggle for subtotals in rows
showColumnTotals Toggle for subtotals in columns
showFieldPanel Activates the field panel interface
showDataFields Shows data fields in the field panel
showRowFields Shows row fields in the field panel
showColumnFields Shows column fields in the field panel
showFilterFields Shows filter fields in the field panel
allowFieldDragging Enables drag-and-drop field rearrangement
elements Defines fields and their configuration
dataSourceId Data source ID for retrieving data
getEntityCollectionHttpRequestParametersMap Configures HTTP request parameters
useMockData Enables usage of sample data
events Configurable component events
ON_INIT (Events) Event triggered on initialization
ON_DESTROY (Events) Event triggered on removal
dataTestId Identifier for automated testing

Structure

(Configured in General Properties)

(Configured in Datasource)

Styling

(Configured in Visual Properties)

Field Chooser with filtering and sorting

Columns & Rows

(Configured in Visual Properties)

Show grand total

Show total

Field Panel

(Configured in Visual Properties)

All field panel options

Actions & Variants

(Configured in Events)

Tests

(Configured in Testing Hooks)

Links

Guidelines

Usage

Sizing & Layout

Data-Driven / Conditional Behavior

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Show the field panel only when users need to re-pivot data. Leave the field panel visible when users only need to read results. showFieldPanel, showDataFields, showRowFields, showColumnFields, showFilterFields, allowFieldDragging
Enable sorting for ranked comparisons. Rely on backend order for user-driven ranking tasks. allowSorting
Offer filtering controls for narrowing results. Force dataset changes only via server requests when client filtering suffices. allowFiltering
Turn on grand totals when overall rollups matter. Show grand totals by default in already compact summaries. showColumnGrandTotals, showRowGrandTotals
Use subtotals to clarify group structure. Enable all totals everywhere, creating visual noise. showRowTotals, showColumnTotals
Localize all titles and subtitles. Hard-code English strings. titleTranslations, subtitleTranslations
Prototype with mock data before the API is ready. Point to an empty dataSourceId and ship a blank grid. useMockData, dataSourceId
Provide a stable test hook for automation. Target the grid by visual text in tests. dataTestId

Accessibility