This is a migrated thread and some comments may be shown as answers.

Grouping a VirtualQueryableCollectionView

8 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Todd Millett
Top achievements
Rank 1
Todd Millett asked on 29 Jul 2011, 11:53 AM
I have a IEnumerable of a custom class which i am getting from the server. I want to group the data based on a particular column in that custom class same as can be done with any IEnumerable collection like : results.GroupBy(i => i.GroupName == "Test")
How can that be done using VirtualQueryableCollectionView?
Actually my requirement is to get those groups and then based on the number of groups i have to create that many tabs.
Also will the single VirtualQueryableCollectionView work with different tabs, in terms of loading data based on scrolling and stuffs?

8 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Jul 2011, 11:56 AM
Hi,

 Grouping is not supported with VirtualQueryableCollectionView.

All the best,
Vlad
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Todd Millett
Top achievements
Rank 1
answered on 29 Jul 2011, 11:59 AM
Not even from codebehind? Or are there any alternatives?
0
Todd Millett
Top achievements
Rank 1
answered on 29 Jul 2011, 12:24 PM
So does it mean that if i use VirtualQueryableCollectionView then I cannot show grouping on the UI? even if the data is getting group from the server?
0
Todd Millett
Top achievements
Rank 1
answered on 29 Jul 2011, 12:25 PM
Can you please let me know this, as we have a very imp decision to make on this...
0
mirang
Top achievements
Rank 1
answered on 30 Jul 2011, 02:02 AM
Actually this is a feature which is the most important thing missing in RadGridView and VirtualQueryableCollectionView. Are there any plans to implement or it anytime in the near future. You are right todd, even a workaround would do it, otherwise the grid seems incomplete.
0
Gabriel
Top achievements
Rank 1
answered on 11 Nov 2011, 02:30 AM
Anyone have a status on this? This is kind of a deal breaker...
0
Vlad
Telerik team
answered on 11 Nov 2011, 08:29 AM
Hello,

 Grouping a VirtualQueryableCollectionView is possible however only locally on the client since there is no way so far to transfer groups from the server to the client. Even WCF RIA services grouping is fake - just plain sorting. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Gabriel
Top achievements
Rank 1
answered on 11 Nov 2011, 03:18 PM
Do you have a quick example of this grouping on the client side?

Thanks,
Tags
GridView
Asked by
Todd Millett
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Todd Millett
Top achievements
Rank 1
mirang
Top achievements
Rank 1
Gabriel
Top achievements
Rank 1
Share this question
or