RankBinding Class
Defines the calculation of a ranking in the window.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll
Declaration
Remarks
The following code snippet illustrates how to bind a PivotGrid field to the result of the Rank window calculation.
<dx:PivotGridField ID="Rank" Area="DataArea" AreaIndex="0" Name="Rank">
<DataBindingSerializable>
<dx:RankBinding RankType="Unique" Order="Descending" PartitioningCriteria="ColumnValue">
<SourceSerializable>
<dx:DataSourceColumnBinding ColumnName="Extended_Price" />
</SourceSerializable>
</dx:RankBinding>
</DataBindingSerializable>
<CellFormat FormatType="Numeric"></CellFormat>
</dx:PivotGridField>
Note
The complete example is available in the GitHub repository: ASP.NET Web Forms Pivot Grid - How to Create Field Calculation Bindings.
For more information, see Data Binding API.
Inheritance
See Also