[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
   Reporting
  [Expand]Charting
  [Collapse]Pivot Grid
   [Expand]Getting Started
    Integration into the Project
   [Expand]Binding to Data
    Main Features
   [Expand]Export
    Client-Side Functionality
   [Collapse]UI Elements
     Cell
     Column Field
     Column Header Area
     Data Area
     Data Field
     Data Header Area
     Expand Button
     Field Value
     Filter Button
     Filter Button Panel
     Filter Field
     Filter Header Area
     Filter Window
     Grand Totals
     Pager
     Row Field
     Row Header Area
     Totals
   [Expand]Examples
   Spreadsheet
   Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Totals

Row Totals are rows that display sub-totals calculated for outer row fields. Column Totals are columns that display sub-totals calculated for outer column fields.

Pivot Grid supports automatic and custom totals. Automatic totals are calculated using a summary function specified by a corresponding Data Field. Custom totals can be calculated using any summary function. It is possible to calculate multiple custom totals against a data field.

 

 

A column (or row) total consists of the Header and Total Values regions.

 

The table below lists the main properties that affect element appearance.

Characteristics

Members

Visibility

PivotGridOptionsViewBase.ShowColumnTotals (via PivotGridSettings.OptionsView.ShowColumnTotals)

PivotGridOptionsViewBase.ShowRowTotals (via PivotGridSettings.OptionsView.ShowRowTotals)

PivotGridOptionsViewBase.ShowTotalsForSingleValues (via PivotGridSettings.OptionsView.ShowTotalsForSingleValues)

PivotGridFieldBase.TotalsVisibility (via MVCxPivotGridField.TotalsVisibility)

Custom Totals Availability

PivotGridFieldBase.TotalsVisibility (via MVCxPivotGridField.TotalsVisibility)

Custom Total Collection

PivotGridField.CustomTotals (via MVCxPivotGridField.CustomTotals)

Header:

Characteristics

Members

Appearance

PivotGridStyles.FieldValueTotalStyle (via PivotGridSettings.Styles.FieldValueTotalStyle)

Contents

PivotGridFieldBase.TotalValueFormat (via MVCxPivotGridField.TotalValueFormat)

PivotGridCustomTotalBase.Format (PivotGridCustomTotalBase descendants are stored in the MVCxPivotGridField.CustomTotals collections)

The PivotGridSettings.FieldValueDisplayText event enables the display text of individual values to be customized.

Total Values:

Characteristics

Members

Appearance

PivotGridStyles.TotalCellStyle (via PivotGridSettings.Styles.TotalCellStyle)

PivotGridStyles.CustomTotalCellStyle (via PivotGridSettings.Styles.CustomTotalCellStyle)

Contents

PivotGridFieldBase.TotalCellFormat (via MVCxPivotGridField.TotalCellFormat)

PivotGridCustomTotalBase.CellFormat (PivotGridCustomTotalBase descendants are stored in the MVCxPivotGridField.CustomTotals collections)

The PivotGridSettings.CustomCellDisplayText event enables the display text of individual values to be customized.

Expanded See Also

Is this topic helpful?​​​​​​​