I use a RadGridView to show data. The user is allowed to sort by any column by clicking it, using the built-in sorting feature. This works fine.
The problem occurs when the rows in the gridview are replaced. The gridview is always filled with rows after the user has done a search. However, the new rows are not sorted in the specified way.
Example:
The user does a search which fills the gridview with rows.
The user clicks the header of column A to sort by that column.
The user does a new search which fills the gridview with new rows.
The gridview now still indicates that is is sorted by column A, but the rows are NOT sorted in that way
Is this a bug or "by design"? Is there any way to solve my problem?
If no better solution exist, I was thinking that maybe I can manually tell the gridview to sort the rows according to its current sorting state after I have filled it with new rows. But I cannot find a way to do that neither...