Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPivotTable.ShowRowTotals Property

Specifies whether to display row totals.

Namespace: DevExpress.Blazor.PivotTable

Assembly: DevExpress.Blazor.PivotTable.v24.2.dll

NuGet Package: DevExpress.Blazor.PivotTable

#Declaration

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

#Property Value

Type Default Description
Boolean true

true to show totals; false to hide totals.

#Remarks

The DevExpress Blazor Pivot Table calculates totals for its data and displays them as separate columns and rows. There are four types of totals:

  • Row/column totals display sub-totals calculated for outer row/column fields.
  • Row/column grand totals display overall totals calculated against all rows/columns.

Pivot Table Totals

You can use the following properties to change totals’ visibility:

The following code hides row totals:

Razor
<DxPivotTable Data="SalesData"
              ShowRowTotals="false">
    <Fields>
        @*...*@
    </Fields>
</DxPivotTable>

You can also use the following properties to set the position of row/column totals relative to rows/columns:

#Implements

See Also