Show contents 

Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing in Development Environment > Description of System Assemblies > Express > Express Assembly Interfaces > IEaxGrid > IEaxGrid.ApplyHighlight

IEaxGrid.ApplyHighlight

Syntax

ApplyHighlight([Value: IPivotHighlightItem = Null]);

Parameters

Value. Cell highlighting condition.

Description

The ApplyHighlight method highlights data. Highlighting condition is passed in the Value parameter.

Comments

The Value parameter is not set by default and all the highlight conditions are applied for which the property value  Enabled  is set to True.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
    Condition: IPivotHighlightItem;
Begin
    MB:=MetabaseClass.Active;
    MObj:=MB.ItemById("EXPRESS_REPORT").Edit;
    Expr:=MObj As IEaxAnalyzer;
    Grid:=Expr.Grid;
    Condition:=Expr.Pivot.Highlight.Add;
    Condition.ConditionType:=PivotHighlightType.GA;
    Condition.ConditionValueA:=10000;
    Condition.Area:=PivotFilterArea.Table;
    Grid.ApplyHighlight(Condition);
    MObj.Save;
End Sub UserProc;

After executing the example all table cells that have value greater than 10,000 are highlighted in the express report. Express report identifier - EXPRESS_REPORT.

See also:

IEaxGrid