The RadGridView removes the ColumnSortDescriptor when there is no data to display. The result is that when there is data again, it isn't sorted any more.
My specific case is as follows: I have two grids. The second grid shows the items from a List<> property of the selected item in the first grid. When the second grid is sorted (either because I added a ColumnSortDescriptor in the constructor or because the column was clicked in the GUI) and in the first grid a row is selected that doesn't have any items in the List, then the second grid shows no items (correctly) and the sorting arrow disappears. After a row is selected that does have items in the List, the second grid shows these items, but the sorting is gone.
Is there a way to make this sorting more persistent?
Thanks in advance,
Herre
[WPF2012Q3]
My specific case is as follows: I have two grids. The second grid shows the items from a List<> property of the selected item in the first grid. When the second grid is sorted (either because I added a ColumnSortDescriptor in the constructor or because the column was clicked in the GUI) and in the first grid a row is selected that doesn't have any items in the List, then the second grid shows no items (correctly) and the sorting arrow disappears. After a row is selected that does have items in the List, the second grid shows these items, but the sorting is gone.
Is there a way to make this sorting more persistent?
Thanks in advance,
Herre
[WPF2012Q3]