Sorting
The data displayed by a table-like control can be sorted by clicking on the column header at runtime.
If the user clicks or touches the column header, the data in the column are sorted. The order of the table rows is sorted accordingly.
This behavior can be configured by the TableHeaderCell control properties found in the Sorting category.
CanUserSort
Specifies whether the content of the column can be sorted by a click on the column header at runtime.
DataSourceItemMember
Sets the object key from the data source. The table will be sorted by the values of this object key.
SortMode
Specifies whether to data is sorted by the Table control (Internal) or by program code (External).
SortType
Sets the sort type.
-
Auto
The sort type is determined automatically by the data type.
-
Alphabetical
The data are treated as texts and sorted in alphabetical order.
-
Numeric
The data are treated as numbers and sorted in numerical order.
-
Date
The data are treated as date and time and sorted in chronological order.
-
Boolean
The data (Boolean values) are sorted from true to false if sorted in the ascending order.
SortDownSymbol, SortUpSymbol
Sets the symbol displayed on the right-hand side of the column header if the column was sorted in the descending order (SortDownSymbol) or ascending order (SortUpSymbol). Click the button next to the property to select a symbol. The available images depend on the SymbolType and IconFont property settings.
Applies to: