I've found a small bug in the grid which has an impact on sorting.
To reproduce this issue, execute the following:
Create a grid that allows SingleColumn sorting. DO NOT SET the following:
JavaScript
sortable: { mode: 'single' }
If configured like above, you won't be able to reproduce the bug.
It should be configured the following way:
JavaScript
sortable: true
If you configure the Grid with the MVC HtmlHelper (.Sortable(a => a.SortMode(GridSortMode.SingleColumn)), you will get the sortable: true as Javascript output.
- Enable the column menu
- Sort a column
- Sort another column by using the column menu (use the small arrow).
You have now achieved multi-column sorting while only a single column should be able to be sorted (default value of sortable is single!​).​
If you have server side sorting on, you will notice you will receive 2 objects in the sorts object.