Suppose I have ria service to load data based on EF. Then I create IPagedCollectionView as ItemSource for XamGrid in order to apply paging.
Question is: Ria service always load all data at one time, but page only display partial data based on page size.
So I want xamGrid synchronized with ria service data loading. Only load those data for displaying for performance issue.
If I have thousands of rows of data loaded and pagesize=30, it make no sense to load all thousand of row at one time and it even could crash the browser.
How to implement this request?
Hi,
If you use the DomainDataSource, then Ria will only pull down data for that specific page. (Note: the data will need to be sorted first)
-SteveZ
I don't use DomainDataSource. I use VM to load all data and convert it to IPagedCollectionView and the feed data for XamGrid.
I need to change the query dynamically in the code. So I use VM for this not DomainDataSource.
So if I use IPagedCollectionView, what's the solution?