Hi.
I have a problem when doing custom sorting on the DataGrid.
I've attached an eventhandler with Grid.SortColumnsChanging += Grid_SortColumnsChanging.
Now, in the eventhandler I have e.Cancel = true as the last line, so that it won't continue doing the default sorting (it results in an exception due to my dataentity). But when I do this cancel, the grid won't show the sort direction, or the sort column, in the column headers.
How do I fix this?
//Nicky