PivotGridField.RunningTotal Property
Gets or sets whether Running totals are calculated for values in the Data Area that correspond to the current column or row field. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
[XtraSerializableProperty]
[XtraSerializablePropertyId(2)]
public bool RunningTotal { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true to calculate Running totals for the current column/row field; otherwise, false. |
#Remarks
If the RunningTotal property is set to true, total values depend upon the order of values. End-users can change that order by sorting, grouping or filtering. For an example, please see our Running Totals demo.
When filtering is applied, running totals do not include the values that have been filtered out.
Use the PivotGridControl.AllowCrossGroupVariation property to specify whether running totals are calculated independently within individual groups, or throughout the Pivot Grid.