Hello.
I want to use server-side paging.
I have a XamGrid bounded on VirtualCollection<>.
I used ItemDataRequested event. When it fires, I get data from RIA service async.
As a parameters sent to service i use
(int startIndex, int itemsCount, SortDescriptionCollection sortDescriptions)
So, sorting works supposed.
But when grouping in the XamGrid I want to first loaded a number of groups (eg 5) and when opening group, entities, belonging that group should load.
There is any solution?
Ask if any question plz.
BR
Alexey Lukyanov
Hi Alexey,
Unfortunately, the behavior you're looking for isn't possible. We don't perform the grouping ourselves, we mainly rely on linq to perform the operation. And in the case of a VC, which is a CollectionView, we rely on it's implementation of grouping, which always returns the children rows.
-SteveZ