StairsHierarchy : Boolean;
The StairsHierarchy property enables the user to display names of rows or columns of the data area as a stairs hierarchy in a single column or row (or several columns or rows using advanced options). This property is relevant if multiple dimensions are located in rows or columns.
If the property is set to True, the stairs hierarchy is enabled, if the property is set to False, it is not.
The default property value is False.
If this property is set to True, the KeepParentNodes and ChildrenBeforeParents properties become unavailable.
The following example assumes that there is the Report object with the IPrxReport type.
Sub User;
Var
Report : IPrxReport;
DI : IPrxDataIsland;
Prop : IPrxDataIslandProperties;
LHead: IPrxDataIslandHeader;
Begin
DI := Report.DataIslands.Item(0);
DI.Edit;
Prop := DI.Properties;
LHead := Prop.LeftHeader;
LHead.StairsHierarchy := True;
DI.Save;
End Sub User;
After executing the example stairs hierarchy is applied to headings of the data area rows.
See also: