Skip to main content

PivotGridOptionsViewBase.ShowRowTotals Property

Gets or sets whether to display row automatic Totals.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

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

Property Value

Type Default Description
Boolean

true

true to display row automatic Totals; otherwise, false.

Property Paths

You can access this nested property as listed below:

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowRowTotals 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