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

PivotGridFieldOptions.ShowGrandTotal Property

Gets or sets whether grand totals that correspond to the current data field are visible.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v19.1.Core.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowGrandTotal { get; set; }

Property Value

Type Default Description
Boolean **true**

true if corresponding grand totals are visible; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowGrandTotal
Cross-Platform Class Library PivotGridFieldBase
.Options.ShowGrandTotal
WinForms Controls PivotGridField
.Options.ShowGrandTotal
Reporting XRPivotGridField
.Options.ShowGrandTotal
ASP.NET Web Forms Controls PivotGridField
.Options.ShowGrandTotal
MVCxPivotGridField
.Options.ShowGrandTotal

Remarks

Use the PivotGridOptionsViewBase.ShowColumnGrandTotals, PivotGridOptionsViewBase.ShowRowGrandTotals and PivotGridOptionsViewBase.ShowGrandTotalsForSingleValues properties to control the visibility of grand totals for all fields.

See Also