IPrxDataIslandHeader.KeepParentNodes

Syntax

KeepParentNodes: Boolean;

Description

The KeepParentNodes property determines the state of the Include All Parents to Hierarchy of Non-Excluded Elements option.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

THead: IPrxDataIslandHeader;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Edit;

Report := MObj As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0).Edit;

    Prop := DI.Properties;

    THead := Prop.TopHeader;

    THead.KeepParentNodes := False;

DI.Save;

MObj.Save;

End Sub Main;

After executing the example the Include All Parents to Hierarchy of Non-Excluded Elements option is disabled for columns of the first data area. The identifier of the regular report - Report.

See also:

IPrxDataIslandHeader