views:

69

answers:

0

I'm trying to figure out how to get the grid to completely destroy my RowDetails control when I collapse its' visibility. I use a cloned copy of the item in that control so I don't truly save it until my service completes. Since the grid is re-using that control it's using the cloned version of the item which is causing incorrect behavior. I've tried the following methods with no luck so far.

this.SetDetailsVisibilityForItem(openItem, System.Windows.Visibility.Collapsed);
this.ClearDetailsVisibilityForItem(openItem);