corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsviewbase-14787765.md
Gets or sets whether to display row Grand Totals.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool ShowRowGrandTotals { get; set; }
<DefaultValue(True)>
Public Property ShowRowGrandTotals As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display row Grand Totals; otherwise, false.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowRowGrandTotals 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.
winforms-pivot-grid-hide-specific-columns-and-rows/CS/Data.cs#L32
pivot.OptionsView.RowTotalsLocation = PivotRowTotalsLocation.Near;
pivot.OptionsView.ShowRowGrandTotals = false;
pivot.OptionsView.ColumnTotalsLocation = PivotTotalsLocation.Far;
winforms-pivot-grid-custom-aggregates/CS/Win_Pivot_CustomAggregates/Form1.cs#L13
pivotGridControl1.OptionsView.ShowRowTotals = false;
pivotGridControl1.OptionsView.ShowRowGrandTotals = false;
pivotGridControl1.OptionsData.DataProcessingEngine = PivotDataProcessingEngine.Optimized;
winforms-dashboard-pivot-custom-export/CS/WinformsExport/Form1.cs#L53
pivot6.CustomFieldValueCells += PivotCustomFieldValueCellsResults;
pivot6.OptionsView.ShowRowGrandTotals = false;
pivot6.AfterPrint += PivotAfterPrint;
winforms-pivot-grid-hide-specific-columns-and-rows/VB/Data.vb#L36
pivot.OptionsView.RowTotalsLocation = PivotRowTotalsLocation.Near
pivot.OptionsView.ShowRowGrandTotals = False
pivot.OptionsView.ColumnTotalsLocation = PivotTotalsLocation.Far
winforms-pivot-grid-custom-aggregates/VB/Win_Pivot_CustomAggregates/Form1.vb#L14
pivotGridControl1.OptionsView.ShowRowTotals = False
pivotGridControl1.OptionsView.ShowRowGrandTotals = False
pivotGridControl1.OptionsData.DataProcessingEngine = PivotDataProcessingEngine.Optimized
winforms-dashboard-pivot-custom-export/VB/WinFormsExport/Form1.vb#L55
AddHandler pivot6.CustomFieldValueCells, AddressOf PivotCustomFieldValueCellsResults
pivot6.OptionsView.ShowRowGrandTotals = False
AddHandler pivot6.AfterPrint, AddressOf PivotAfterPrint
See Also
ShowGrandTotalsForSingleValues
PivotGridOptionsViewBase Class