Skip to main content
A newer version of this page is available. .

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.v17.2.dll

Declaration

public class PivotGridCustomTotal :
    PivotGridCustomTotalBase

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:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PivotGridCustomTotal class.

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.

Inheritance

Object
PivotGridCustomTotalBase
PivotGridCustomTotal
See Also