corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsviewbase-00fd381f.md
Gets or sets whether to display column Grand Totals.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool ShowColumnGrandTotals { get; set; }
<DefaultValue(True)>
Public Property ShowColumnGrandTotals As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display column Grand Totals; otherwise, false.
|
Note that Grand Totals can’t be hidden if there is nothing else shown in the same area.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowColumnGrandTotals 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.
pivotGridControl1.BestFit();
pivotGridControl1.OptionsView.ShowColumnGrandTotals = false;
}
pivot.OptionsView.RowTotalsLocation = PivotRowTotalsLocation.Near;
pivot.OptionsView.ShowColumnGrandTotals = false;
pivot.OptionsView.ColumnTotalsLocation = PivotTotalsLocation.Far;
pivotGridControl1.BestFit()
pivotGridControl1.OptionsView.ShowColumnGrandTotals = False
End Sub
pivot.OptionsView.RowTotalsLocation = PivotRowTotalsLocation.Near
pivot.OptionsView.ShowColumnGrandTotals = False
pivot.OptionsView.ColumnTotalsLocation = PivotTotalsLocation.Far
See Also
ShowGrandTotalsForSingleValues
PivotGridOptionsViewBase Class