This sample illustrates sorting data within Ajax Grid.
Grid data can be sorted in ascending or descending order.
Sorting can be performed on grouped columns.
Sorting can be enabled using the AllowSortColumns property.
The first sort operation sorts the selected column values in ascending order.
All subsequent sort operations will toggle the sort direction between ascending and descending.
When columns are grouped, they are automatically sorted in ascending order of values.
Click anywhere in the bottom 3/4 of the header cell to initiate sorting.
Clicking the upper 1/4 of the header cell selects the column.
For more information, please visit our Sorting Documentation :