RunningTotalBinding Class
Defines the calculation that aggregates values cumulatively in the window.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
The following code snippet illustrates how to bind a PivotGrid field to the result of the Running Total window calculation.
<dx:PivotGridField ID="RunningTotal" Area="DataArea" AreaIndex="0" Name="RunningTotal">
<DataBindingSerializable>
<dx:RunningTotalBinding SummaryType="Average" Direction="AcrossThenDown" PartitioningCriteria="ColumnValue">
<SourceSerializable>
<dx:DataSourceColumnBinding ColumnName="Extended_Price" />
</SourceSerializable>
</dx:RunningTotalBinding>
</DataBindingSerializable>
<CellFormat FormatString ="c2" FormatType="Numeric"></CellFormat>
</dx:PivotGridField>
For more information, see Data Binding API.
Inheritance
See Also