Home › Forums › WPF controls › Xceed DataGrid for WPF › Disable sorting for single column
Is it possible to disable sorting for a single column? There is a case where once colum just contains a checkbox control and doesn’t require sorting.
If it ended up needing to be sorted, it doesn’t appear that sorting checkboxes by checked or unchecked state is working, if that is even a sort feature at all.
Imported from legacy forums. Posted by Brett (had 1885 views)
It is currently not possible to prevent sorting when declaring a column. There are workarounds expressed in this forum but you would need to do some tayloring to make them work to your case.
It is already in our todo list to add properties on Column to disable sorting and/or grouping from UI.
Imported from legacy forums. Posted by Marcus [Xceed] (had 2861 views)