Nov 27, 2009 at 9:34 AM
Edited Nov 27, 2009 at 9:37 AM
I have a similar problem.
In my DataGrid I set the RowDetailsVisibilityMode to Collapsed. I explicitly show Details of some Rows with a ToggleButton in a grid column. When I sort the grid with a click on a column header the collection view is changed an all my RowDetails collapse.
If I use the VisibleWhenSelected mode the RowDetails are refreshed.
I think I can try to rebuild the expanded row with LoadingRow and UnloadingRow.
Is there an easier solution for this task?
If not, do you have a sample for doing what I want with the events or a reference where I can read more to understand what I have to do?