Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[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]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Charts
  [Collapse]Pivot Grid
   [Expand]Getting Started
    Integrate the PivotGrid Extension into a Project
   [Expand]Binding to Data
    Main Features - PivotGrid
    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]Scheduler
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
  [Expand]SpellChecker
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

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

How would you rate this topic?​​​​​​​