Home Forums WinForms controls Xceed Grid for WinForms Column sort indicator disappears

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #16909 |

    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)

    User (Old forums)
    Member
    Post count: 23064

    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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.