PivotGridOptionsViewBase.ShowColumnTotals Property

Gets or sets whether to display column automatic Totals.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

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

Property Value

Type Default Description
Boolean

true

true to display column automatic Totals; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowColumnTotals
WinForms Controls PivotGridControl
.OptionsView.ShowColumnTotals
Reporting XRPivotGrid
.OptionsView.ShowColumnTotals
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsView.ShowColumnTotals
PivotGridSettings
.OptionsView.ShowColumnTotals
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsView.ShowColumnTotals

Remarks

You can prevent automatic totals from being displayed for specific column and row fields. Set a field's PivotGridFieldBase.TotalsVisibility property to PivotTotalsVisibility.CustomTotals to display custom totals instead of automatic totals. Set the PivotGridFieldBase.TotalsVisibility property to PivotTotalsVisibility.None to hide the totals.

See Also