Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
955
FlatDataSource - Does it refresh when the underlying ItemsSource is updated?
posted

Hi,

Our FlatDataSource's ItemsSource is set to an ICollectionView which wraps an ObservableCollection. The items in the collection do implement INotifyPropertyChanged.

Does the grid data refresh automatically when new items are added/removed to the collection and when they fire the PropertyChanged event?

If not - what's the best way to handle this? Calling FlatDataSource.RefreshGrid whenever the collection is changed doesn't seem optimal.

We'd like to have a couple of editable columns. If RefreshGrid is called while the we're editing those columns, their value is reset before we're finished.

Thanks.