I’m having a heck of a time trying to get a silverlight datagrid to properly sort, and do so quickly (sub 1/10 second). Here’s the scenario:
-WCF callback every 1/5 of a second
-Take the callback, match up to the existing record in an ObservableCollection
-Update the ObservableCollection’s properties
-Bind the grid.
I’ve tried a linq query, PagedCollectionView, and observablecollection.select(), all are waaaaaaay too slow, and introduce 12+ second delays in processing. Anyone else experience this?
Calling PagedCollectionView.Refresh from a separate timer works. This prevents the Refresh call from getting called every 1/10 of a second (which is the frequency of callbacks in my scenario).