hi,
I have a generic collection implementing INotifyCollectionChanged with an Add method as the following:
and it works fine with framework's ListView and DataGrid components with a binding to its ItemsSource property.
But RadGridView does not updates itself with "NotifyCollectionChangedAction.Add" but it works fine with "NotifyCollectionChangedAction.Reset". Am I doing something wrong ?
I have a generic collection implementing INotifyCollectionChanged with an Add method as the following:
| public void Add(TEntityType item) |
| { |
| if (Criteria(item)) |
| { |
| InnerList.Add(item); |
| CollectionChanged(InnerList, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item)); |
| if (SelectAddedItem) CurrentItem = item; |
| } |
| } |
and it works fine with framework's ListView and DataGrid components with a binding to its ItemsSource property.
But RadGridView does not updates itself with "NotifyCollectionChangedAction.Add" but it works fine with "NotifyCollectionChangedAction.Reset". Am I doing something wrong ?
