IPrxDataIslandHeader.KeepParentCells

Syntax

KeepParentCells: Boolean;

Description

The KeepParentCells property determines the Display Owners of Non-Excluded Columns option. The property enables the user to display parent elements that have not been displayed due to filter or sorting for child elements available in the data area.

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.KeepParentCells := False;

DI.Save;

MObj.Save;

End Sub Main;

After executing the example the Leave Owners of Non-Excluded Columns option is disabled for columns of the first data area. The identifier of the regular report - Report.

See also:

IPrxDataIslandHeader