Skip to main content

PivotGridControl.ShowGrandTotalsForSingleValues Property

Gets or sets whether grand totals are displayed when the control lists a single value of an outer column field or row field along its left or top edge.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool ShowGrandTotalsForSingleValues { get; set; }

Property Value

Type Description
Boolean

true if the grand totals are always displayed; false if they are only displayed when the PivotGridControl displays two or more values of an outer column (or row) field along its top (or left) edge.

Remarks

The following image shows a sample PivotGridControl whose ShowGrandTotalsForSingleValues property is set to false:

pivotgrid_ShowGrandTotalsForSingleValues_false

The following image shows the same control whose ShowGrandTotalsForSingleValues property is set to true. Now the column grand total is visible, and it duplicates information from the preceding column.

pivotgrid_ShowGrandTotalsForSingleValues_true

See Also