Reputation: 2770
Our WPF DataGrid does not update its groups when we edit items. We group by field X, and the item for which we change field X still stays in the same group. How do we make the grid always dynamically keep its groups up to date?
Upvotes: 1
Views: 579
Reputation: 2770
Turns out one of our team members discovered the IEditableObject interface, which allows the level of control we needed to make this work.
Upvotes: 0
Reputation: 36775
Don't know for the DataGrid, but for other other grouping controls in WPF this is done automatically. Have you implemented INotifyPropertyChanged for the grouping property and does it fired? Was the current row of the DataGrid updated?
Upvotes: 1