DisplayActiveSortIconOnly : Boolean;
DisplayActiveSortIconOnly : System.Boolean;
The DisplayActiveSortIconOnly property determines whether a sorting icon is displayed for column/row with enabled sorting.
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.
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.
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: