property Column.SortOrder as SortOrderEnum
Specifies the column's sort order.

 TypeDescription 
   SortOrderEnum A SortOrderEnum expression that indicates the column's sort order.  
By default, the control automatically sort a column when the user clicks the column's header. Use the DefaultSortOrder property to specify the column's default sort order, when the user first clicks the column's header. Use the SortType property to determine the way how the column is sorted. Use the DisplaySortIcon property to hide the sort icon if the column is sorted. 

The control automatically sorts a column when the user clicks the column's header, if the SortOnClick property is exDefaultSort. If the SortOnClick property is exNoSort, the control disables sorting the items when the user clicks the column's header. There are two methods to get the items sorted like follows: 

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.