IPivotDimension.RowsViewMode

Syntax

RowsViewMode: PivotViewMode;

Description

The RowsViewMode property determines a mode of dimension displaying, when arranged in rows (by default the Default value is used, that is a setting determined for the whole report).

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        OLAP: IEaxAnalyzer;
        Pivot: IPivot;
        Dims: IPivotDimensions;
        Dim: IPivotDimension;
    Begin
        OLAP := UiErAnalyzer1.ErAnalyzer;
        Pivot := OLAP.Pivot;
        Dims := Pivot.Dimensions;
        For Each Dim In Dims Do
            dim.RowsViewMode := PivotViewMode.LevInSlot;
        End For;
    End Sub Button1OnClick;

After executing the example, clicking the Button1 button shows each dimension level located by rows in a separate position.

See also:

IPivotDimension