Hi Frustrated Dev,
The CanUserSortColumns property is used to allow or disallow sorting from the UI and this property is set to true by default. For the time being there is no distinction between multiple and single sorting and if sorting is enabled, multiple sorting is enabled as well. Luckily you can disable multiple sorting with just a few lines of code:
.playersGrid.ItemsSource = Club.GetPlayers();
// true by default
sender, GridViewSortingEventArgs e)
.playersGrid.SortDescriptors.Count >= 1 &&
.playersGrid.SortDescriptors.Member != e.SortPropertyName)
// if grid is already sorted - cancel pending sort request
e.NewSortingState = SortingState.None;
Hope this helps.
All the best,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.