PercentOfTotalBinding Class
Defines the calculation of a percentage of all values 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 Percent of Total window calculation.
<dx:PivotGridField ID="PercentOfTotal" Area="DataArea" AreaIndex="0" Name="PercentOfTotal">
<DataBindingSerializable>
<dx:PercentOfTotalBinding PartitioningCriteria="ColumnValue">
<SourceSerializable>
<dx:DataSourceColumnBinding ColumnName="Extended_Price" />
</SourceSerializable>
</dx:PercentOfTotalBinding>
</DataBindingSerializable>
<CellFormat FormatString= "p" FormatType= "Numeric" ></CellFormat>
</dx:PivotGridField>
For more information, see Data Binding API.
Inheritance
Object
DataBindingBase
CalculationBindingBase
PercentOfTotalBindingBase
PercentOfTotalBinding
See Also