HeaderClick Method (FlexAdvancedDataGrid)

Action

Dispatched when the user releases the mouse button on a column header to request the control to sort the grid contents based on the contents of the column.

Syntax

C#
advancedDataGrid.HeaderClick(columnIndex, [dataField, keyModifier])
VB
advancedDataGrid.HeaderClick(columnIndex, [dataField, keyModifier])
Variable Description
columnIndex The zero-based index of the item's column in the DataGrid object's columns array. Integer.
dataField Optional: The name of the field or property in the data associated with the column. String.
keyModifier Optional: The key modifiers (for example, the Ctrl key) to use. ModifierKeys.