I've tried this a few times and while I get the data in the grid view to sort, the column header does not toggle it's sort. Here is my code.
ColumnSortDescriptor descriptor = new ColumnSortDescriptor();
descriptor.Column = grid.Columns;
descriptor.SortDirection = System.ComponentModel.ListSortDirection.Ascending;
I have my grid pre-sorted when it is created this way. However, in this instance, if the user wants to sort by this column, but instead of Ascending, they want Descending, they have to click the column twice. The first click will just sort by Ascending again. Is there any way to make the column sort button aware that it's sorted, so the next click will sort Descending?