If the AllowSort property is True (default), the user can sort columns by clicking on column headers. Press Shift key or Control+Shift keys to turn-off or turn-on column sorting, respectively. When the mouse is over a column header, the header will appear highlighted:
If the user clicks on the column header once with the mouse, the column is sorted and a sort indicator arrow appears in the column header to indicate the direction of the sort:
If the user clicks the header again, the sort is reversed and the direction of the sort indicator arrow is also reversed:
If the user clicks the header again for the 3rd time, the sort will be cancelled .
If the AllowColSelect property is set to False the column will not be selected when sorting.
Below is a screenshot for sorting the column Specific Area
|