PivotGridCustomTotal Class
Represents a custom total which can be calculated for an outer column field or row field.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
Declaration
Related API Members
The following members return PivotGridCustomTotal objects:
Remarks
The ASPxPivotGrid control supports automatic and custom Totals. An automatic total is calculated against a data field using a summary function determined by the field’s PivotGridFieldBase.SummaryType property.
A custom total allows you to calculate a total using a different summary function type. In addition, it’s possible to calculate multiple custom totals for one data field.
Totals are displayed as additional rows or columns for each value in an outer column field or row field. To display custom totals for a column/row field, do the following:
- add PivotGridCustomTotal objects which represent custom totals to the field’s PivotGridField.CustomTotals collection;
- set the field’s PivotGridFieldBase.TotalsVisibility property to PivotTotalsVisibility.CustomTotals.