Skip to content

pivot_grid ​

A pivot. Type is pivot_grid.

BlockWhat it is
PivotNative config for dxPivotGrid
ChartNative config for dxChart
ComponentPlatform keys. They all live here
ToolbarToolbar
TitleTitle

Keys inside Pivot and Chart stay lowercase. ChartPanel.bindOptions and DrillDown.columns are native parameters too, so they stay lowercase.

Component ​

KeyMeaning
AutoLoadLoad as soon as the page opens. On by default
LoadSqlSQL for the pivot data
ReadOnlyRead-only
TitleComponent title
PivotTunePivot field tuning
SwapAxes{ Enabled }. The toolbar swaps row fields and column fields, including expand paths

ChartPanel ​

The chart sits beside or below the pivot.

KeyMeaning
VisibleWhether the chart is shown
Positionbottom, or a side
HeightChart height
WidthRatioChart width as a fraction of the row
WidthPxChart width in pixels. Use this or the ratio
SeriesTypeSeries type, for example bar
ChartTypesChart types the user can pick
TuneFiner chart settings
SwapAxes{ Enabled }. Swap only the chart axes or series. The pivot fields stay

DrillDown ​

Double-click a total cell to open the detail rows.

KeyMeaning
EnabledWhether drill-down is allowed
Triggerclick or dblclick
MaxRowsMaximum detail rows. 0 means do not truncate
PopupWidth / PopupHeightPopup size
columnsColumns of the detail grid. Lowercase. A dxDataGrid column config

WriteBack ​

Edit numbers in the drilled-down detail, then write them back.

KeyMeaning
EnabledWhether write-back is allowed
KeyFieldPrimary key of a detail row. Default id
UpdateRowSqlUpdate one row
InsertRowSqlInsert one row
AllowInsertOnEmptyAllow an insert when no existing row was hit

Highlight the chart when the pivot is clicked.

KeyMeaning
EnabledWhether the chart follows the pivot
RangeSelectAllow dragging a selection on the data area

This describes the platform. One customer’s business tables are not in these docs.