IEaxGridHeaderSettings.Placement

Syntax

Placement: EaxGridHeaderPlacement;

Description

The Placement property determines settings of header layout.

Example

Executing the example requires that the repository contains express report with the EXPRESS identifier for which header and expanding hierarchy is set.

Add links to the Express, Metabase, Pivot system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Expr: IEaxAnalyzer;
    SettBase: IDataAreaHeaderSettingsBase;
    ViewSett: IEaxGridViewSettings;
    Sett: IEaxGridHeaderSettings;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    SettBase := Expr.Pivot.LeftHeader As IDataAreaHeaderSettingsBase;
    ViewSett := Expr.Grid.ViewSettings;
    Sett := ViewSett.GetViewSettings(SettBase) As IEaxGridHeaderSettings;
    // Sorting icons visibility
    Sett.DisplaySortIcons := False;
    // Indent in drop-down hierarchy
    Sett.HierarchyIndent := 15;
    // Header position settings
    Sett.Placement := EaxGridHeaderPlacement.Simple;
    (Expr As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the following settings will be specified for the express report.

See also:

IEaxGridHeaderSettings