HI,
Can anyone tell me how to implement sorting functionality in xamGrid. My itemsource is VirtualCollection (with paging) and I am getting the data from the WCF service.
Regards,
Hareen.
So,
We've got 2+ columns leading input for lets call them decorations (images, tooltips,etc.) but there's one distinct data point being shown.
How would you recommend doing it so that you could sort on these with the data coming from a VC?
Mike
Hi,
Yes, since the Unbound column does not have a Key that corresponds to a property from the row's data, XamGrid does not support sorting out of the box. This is also true for other data sources that implement ICollectionView interface.
HTH,
Stoimen,
The solution that you're presenting works fine so long as none of the columns are Unbound. We cannot seem to find a way to sort with a unbound column over a VC.
Thanks you for reply, the solution working as I required by modifying slightly (added paging and implemented string data sorting).
I am attaching a sample for how you could use the sorting information provided by XamGrid to VC.
Let me know if there are any questions.