IEaxGrid.HeaderTitleContentType

Fore syntax

HeaderTitleContentType: EaxHeaderTitleContentType;

Fore.NET syntax

HeaderTitleContentType: Prognoz.Platform.Interop.Express.EaxHeaderTitleContentType;

Description

The HeaderTitleContentType property determines name type in the table corner property.

Comments

Before selecting name type in the table corner header, it is required to set header type by using the IEaxGrid.HeaderTitleType property.

Fore example

Executing the example requires that repository contains express report with data table with the EXP_REPORT identifier.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    // Get current repository
    MB := MetabaseClass.Active;
    // Get express report
    MObj := MB.ItemById("EXP_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    // Get analytical data area table
    Grid := Expr.Grid;
    // Determine name type in the table corner header
    Grid.HeaderTitleType := EaxHeaderTitleType.Columns;
    Grid.HeaderTitleContentType := EaxHeaderTitleContentType.DimensionAttributeName;
    // Save report
    MObj.Save;
End Sub UserProc;

After executing the example the express report displays names of dimension attributes by columns in the table corner header.

Fore.NET example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Metabase;

Public Shared Sub Main(Params: StartParams);
    Var
        MB: IMetabase;
        MObj: IMetabaseObject;
        Expr: IEaxAnalyzer;
        Grid: IEaxGrid;
    Begin
        // Get current repository
        MB := Params.Metabase;
        // Get express report
        MObj := MB.ItemById["EXP_REPORT"].Edit();
        Expr := MObj As IEaxAnalyzer;
        // Get table of analytical data area
        Grid := Expr.Grid;
        // Determine name type in the table corner header
        Grid.HeaderTitleType := EaxHeaderTitleType.ehtColumns;
        Grid.HeaderTitleContentType := EaxHeaderTitleContentType.ehtctDimensionAttributeName;
        // Save report
        MObj.Save();
    End Sub;

See also:

IEaxGrid