Show contents 

Express > Express Assembly Interfaces > IEaxGridDimensionSettings > IEaxGridDimensionSettings.Detailing

IEaxGridDimensionSettings.Detailing

Syntax

Detailing: TriState;

Description

The Detailing property determines whether data drill down property.

Comments

To get attribute whether data drill down is used, use the IEaxGridDimensionSettings.IsDetailing property.

Example

To execute the example, place the Button and Label components named Button1 and Label1 on the form.

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

The example is a handler of the OnClick event for the Button1 component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Eax: IEaxAnalyzer;
    Prop: IEaxGridDimensionSettings;
    PivotDim: IDataAreaHeaderSettingsBase;
Begin
    // Get express report
    Eax := MetabaseClass.Active.Item(71208).Edit As IEaxAnalyzer;
    // Find data provider dimension with the 10127 key
    PivotDim := Eax.Pivot.Dimensions.FindByKey(10127As IDataAreaHeaderSettingsBase;
    // Check if data is drilled down
    Prop := Eax.Grid.ViewSettings.GetViewSettings(PivotDim) As IEaxGridDimensionSettings;
    If Prop.IsDetailing = False Then
        // Enable drill down if it is disabled
        Prop.Detailing := TriState.OnOption;
        Label1.Text := "Drill down is enabled";
    Else
        // Disable drill down if it is enabled
        Prop.Detailing := TriState.OffOption;
        Label1.Text := "Drill down is disabled";
    End If;
    (Eax As IMetabaseObject).Save;
End Sub Button1OnClick;

Clicking the Button1 button in the Label1 component displays data drilldown state.

See also:

IEaxGridDimensionSettings