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
2030
xamDataGrid with ObservableCollection<T>: Change data, re-apply existing sorting and filtering
posted

Hello,

I am using xamDatagrid (Version 16.1 latest service pack) to present an ObservableCollection<myOwnObject>. When I apply filtering and/or sorting and read new data into the observablecollection, the filter filters more data than allowed and sorting does not apply.

By reading postings in this forum I understood that sorting is not applied automatically after adding or changing a record.

http://www.infragistics.com/community/forums/p/61627/314102.aspx#314102

What is the best way to refresh data of an ObservableCollection<T> and reapply filters and sort orders to the new set of data?

It would be great to have a MVVM friendly solution.

Thanks

Niko