IEaxGrid.DisplayActiveSortIconOnly

Fore Syntax

DisplayActiveSortIconOnly : Boolean;

Fore.NET Syntax

DisplayActiveSortIconOnly : System.Boolean;

Description

The DisplayActiveSortIconOnly property determines whether a sorting icon is displayed for column/row with enabled sorting.

Comments

If the property is set to True, a sorting icon is visible only for a row or column with enabled sorting. If sorting is not enabled, all icons are hidden.

Default value: False.

Fore Example

Add links to the Forms, Express, Tab system assemblies to execute the example. Create a form, place the Button1 button on it, the TabSheetBox component named TabSheetBox1 and the UiErAnalyzer component named UiErAnalyzer1. In the Object property of the UiErAnalyzer1 component determine the express report from the repository and in the Source property of the TabSheetBox1 component select the UiErAnalyzer1.

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        Analyzer: IEaxAnalyzer;
        EaxGrid: IEaxGrid;
    Begin
        UiErAnalyzer1.Active:=True;
        Analyzer:= UiErAnalyzer1.ErAnalyzer;
        EaxGrid:= Analyzer.Grid;
        EaxGrid.DisplayActiveSortIconOnly := True;
        End Sub Button1OnClick;

After executing the example clicking the button shows a sorting icon only for the column or row with enabled sorting in the specified express report table.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Interop.Tab;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Forms;
...
    Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
    Var
        Analyzer: IEaxAnalyzer;
        EaxGrid: IEaxGrid;
    Begin
        UiErAnalyzerNet1.Active:=True;
        Analyzer:= UiErAnalyzerNet1.AnalyzerUi.ErAnalyzer;
        EaxGrid:= Analyzer.Grid;
        EaxGrid.DisplayActiveSortIconOnly := True;
    End Sub;

See also:

IEaxGrid