Silverlight / WPF - Data Grid is not refreshed when the binded collection changes
Asked By Basanth Cruz Baptist on 03-Apr-17 06:07 AM
I have a data grid, the item source of it is an observable collection.
For example lets consider ObservableCollection<Customer> Customers
I have a checkbox.
When checked a new Customer object will be added to Customers collection.
When Unchecked existing Customer object will be removed from Customers collection based on ID.
Addition and Deletion works fine.
But the associated datagrid is not getting refreshed when there is a changed to the binded ObservableCollection.
Please help me out with the same.
Thanks in advance.