HeaderClick Method (FlexDataGrid)

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.

Only dispatched if the column is sortable and the data provider supports sorting.

Syntax

C#
dataGrid.HeaderClick(columnIndex)
VB
dataGrid.HeaderClick(columnIndex)
Variable Description
columnIndex The zero-based index of the item's column in the DataGrid object's columns array. Integer.