Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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