This sample demonstrates the TreeGrid multi sorting feature. To sort two or more columns, hold the CTRL key and click the column header.
Order Name
|
|
Category
|
|
Order Date
|
|
Units
|
|
allowSorting
as true.
To sort a TreeGrid column by simply click the column header. The icons (ascending) and (descending) specifies the sort direction of a column.
To sort multiple column hold CTRL key and click the column header. To clear sort for a column, hold SHIFT key and click the column header.
While using TreeGrid in a touch device, you have an option for multi sorting in single tap on the treegrid header. By tapping on the treegrid header, it will show the toggle button in small popup with sort icon. Now tap the button to enable the multi-sorting in single tap.
In this demo,
More information on the data binding can be found in this documentation section.