Show contents 

Express > Express Assembly Interfaces > IEaxGrid > IEaxGrid.DisplayActiveSortIconOnly

IEaxGrid.DisplayActiveSortIconOnly

Syntax

DisplayActiveSortIconOnly: 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.

Example

To execute an example, create a form, the Button1 button on the form, 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.

Add links to the Forms, Express, and Tab system assemblies.

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.

See also:

IEaxGrid