IPivot.RankType

Syntax

RankType: PivotRankType;

Description

The RankType property determines a method of table data ranking.

Comments

The area of ranking is specified in the IPivot.RankAreaType property.

Example

Executing the example requires a form with a button named Button1 on the form, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source for TabSheetBox.

Sub Button1nClick(Sender: Object; Args: IMouseEventArgs);
Var
    OLAP: IEaxAnalyzer;
    Pivot: IPivot;
Begin
    OLAP := UiErAnalyzer1.Instance As IEaxAnalyzer;
    Pivot := OLAP.Pivot;
    Pivot.RankType := PivotRankType.Asc;
    Pivot.RankAreaType := PivotValueArea.Row;
End Sub Button1nClick;

On clicking the button data is ranked by row values in the table.

See also:

IPivot