Grouping a VirtualQueryableCollectionView

9 posts, 0 answers
  1. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    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?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Jul 2011 Link to this post

    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!

  3. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    Not even from codebehind? Or are there any alternatives?
  4. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    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?
  5. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    Can you please let me know this, as we have a very imp decision to make on this...
  6. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 29 Jul 2011 Link to this post

    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.
  7. Gabriel
    Gabriel avatar
    18 posts
    Member since:
    Jun 2011

    Posted 10 Nov 2011 Link to this post

    Anyone have a status on this? This is kind of a deal breaker...
  8. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Nov 2011 Link to this post

    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 >>

  9. Gabriel
    Gabriel avatar
    18 posts
    Member since:
    Jun 2011

    Posted 11 Nov 2011 Link to this post

    Do you have a quick example of this grouping on the client side?

    Thanks,
Back to Top