All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

RankBinding Class

Defines the calculation of a ranking in the window.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v21.1.dll

Declaration

public class RankBinding :
    RankBindingBase

Remarks

The following code snippet illustrates how to bind a PivotGrid field to the result of the Rank window calculation.

View Example

<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>

For more information, see Data Binding API.

Implements

DevExpress.XtraPivotGrid.IDesignerContextProvider
See Also