IEaxGrid.Hierarchical

Syntax

Hierarchical(Kind: EaxHierarchyKind): Boolean;

Example

Kind. Object (row or column), by which it is necessary to set drop-down hierarchy.

Description

The Hierarchical property determines whether a drop-down hierarchy is shown by rows or columns in the express report table.

Comments

This property is outdated, use IEaxGridHeaderProperties.Hierarchical.

Example

Executing the example requires an express report with the EXPRESS_REPORT identifier.

Add links to the Metabase and Express system assemblies.

Sub Main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    MB:=MetabaseClass.Active;
    MObj:=MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr:=MObj 
As IEaxAnalyzer;
    Grid:=Expr.Grid;
    Grid.Hierarchical(EaxHierarchyKind.Rows):=
True;
    MObj.Save
End Sub Main;

After executing the example a drop-down hierarchy by table rows is enabled.

See also:

IEaxGrid