The sort indicator properly displays in a column header when the user clicks on the column to sort the data.
If my code changes the sort field/direction in the underlying dataview (dataView.Sort), then reload the grid, the data is properly sorted, but the sort indicator does not reappear in the column header.
I am using Xceed Grid for .NET v3.7.
Thanks for any help.
Imported from legacy forums. Posted by Mark (had 1660 views)
This is the expected behavior since to the grid, the “normal/natural/original” order is as presented in the view. If you absolutely need to the sort indicator to appear, I suggest you load the data as is (without sort), and sort the gird on that column in code.
Imported from legacy forums. Posted by André (had 1790 views)