Skip to main content

PivotGridFieldOptions.ShowGrandTotal Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

[DefaultValue(true)]
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:

Object Type Path to ShowGrandTotal
PivotGridFieldBase
.Options .ShowGrandTotal

Remarks

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowGrandTotal property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also