Hierarchical(Kind: EaxHierarchyKind): Boolean;
Kind. Object (row or column), by which it is necessary to set drop-down hierarchy.
The Hierarchical property determines whether a drop-down hierarchy is shown by rows or columns in the express report table.
This property is outdated, use IEaxGridHeaderProperties.Hierarchical.
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: