Collapsing Group Collapses ALL Items

35 posts, 0 answers
  1. Josh McCullough
    Josh McCullough avatar
    9 posts
    Member since:
    May 2010

    Posted 16 Jul 2010 Link to this post

    Is there a way to make is so that when I have a group of items and I click to collapse the group, it collapses ALL of the items in the group - not just the visible items.

    For example, say you have 2 groups. The first group has 150 items, the second has 25. My page size is 20. When I collapse group 1 (150 items), I want to immediately see group 2 and it's first 20 items show in the grid. Instead you just get a collapsed group and no items below it.

    Thanks!
  2. Josh McCullough
    Josh McCullough avatar
    9 posts
    Member since:
    May 2010

    Posted 19 Jul 2010 Link to this post

    Anyone?
  3. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 21 Jul 2010 Link to this post

    Hello Josh,

    Unfortunately the desired functionality is not supported by the RadGrid control. However, please do not hesitate to contact us if other questions or problems arise.

    Greetings,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Josh McCullough
    Josh McCullough avatar
    9 posts
    Member since:
    May 2010

    Posted 21 Jul 2010 Link to this post

    Sad. Thanks for the reply, though!
  5. Andrew Winter
    Andrew Winter avatar
    3 posts
    Member since:
    Dec 2009

    Posted 21 Sep 2010 Link to this post

    Please Telerik provide an option to change this grouping behaviour,
    If you had to pick which way the grouping collapses given Josh's scenario I would argue that Telerik have chosen the wrong way for this. All the "Grouping continues on next page...." rubish is just frustrating and means when you are trying to navigate through large sized groups it just wastes time. Your competitors have got it right see http://demos.devexpress.com/ASPxGridViewDemos/GroupingSorting/Grouping.aspx

    In their case the grid preserves a size of X rows and bring forward the subsequent groups / rows etc. Really how you'd expect the grouping to work.

    So can you at least give us some hope that this has been raised and is schedulled for inclusion soon.

    Thanks.

    Josh did you find any workarounds?
  6. Josh McCullough
    Josh McCullough avatar
    9 posts
    Member since:
    May 2010

    Posted 21 Sep 2010 Link to this post

    No, I didn't find a work-around. We ended up simply not using paging which resolved the issue.
  7. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 21 Sep 2010 Link to this post

    Hello Andrew,

    I am afraid I can't provide specific timeframe as to when this functionality will be supported. If other questions or problems arise, please do not hesitate to let us know.

    Sincerely yours,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 04 Oct 2010 Link to this post

    I have also had many complaints about this.  In fact, I may nee to switch grid controls because of this. Which would be bad since I have a lot of code that relies on your grid.  Telerik, can you suggest any way to get around this. I'm not afraid to do stuff myself.  If you can think of a workaround that will help alot.  PLEASE!!!  As the previous person said, the current functionality is kind of odd.  Why collapse if you have to page anyway. It just doesn't make sense.  The DevExpress grid works just as you would expect. Any help would be appreciated.

    Thanks,
    Mark DeMichele
  9. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 06 Oct 2010 Link to this post

    Hello Mark,

    The desired functionality will be available in the new RadTreeList control which will be part of Q3 2010 release.

    All the best,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 06 Oct 2010 Link to this post

    Unfortunately, I need it in the grid since I'm using other grid functionality.

    Can you please help me with a possible work around?  Should I submit this as a support ticket?  Would that help?

    Think about this.  Why would you use grouping in the grid if it weren't to collapsed many records onto fewer pages.  It just doesn't make any sense the way you have it.  Say I have a grid of 1000 rows.  Now say those rows can be grouped in to 10 groups of 100 each.  No say you have your paging set to 25 records per page.  If I group them, then I would expect to only have one page with 10 rows showing the collapsed group headers (with possible counts in the header).  I don't want to page through 40 (1000/25) of pages and I certainly don't want to go to the next page and see the same group.  What's the point of that.  Having it that way is unusable.

    If there is a technical design issue that's forcing you to have it this way, then just say that.  We're all developers and I think we can relate to that, but please don't say this is "by design", because if it is, then there's a bug with the design. 

    I don't mean to make this sound like an attack, I really like your stuff, but I'm being pressured to fix this and I need some answers that will help.
  11. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 06 Oct 2010 Link to this post

    Hi Mark,

    Due to the current implementation of the RadGrid control this functionality could not be implemented. Please excuse us for the inconvenience caused.

    Greetings,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 06 Oct 2010 Link to this post

    Do any your developers think I can work around it somehow?  If not, I have a huge problem.  You grid is the focal point of this site I've developed for our intranet.  I used to use the Dev Express grid, but switched to yours since I was using other controls of yours on the site, and my dev express license ran out and it was not cost effective to maintain both licenses.   If I'm forced to switch back it will cost me time and money, plus we may be forced to use Dev Express for everything.  Since I don't think I can get approved to have both licenses since they are fairly expensive.

     If there's anything any of your developers can do to help, I would greatly appreciate it.  Should I open a Support Ticket?  Or is this a lost cause.  I hope not.
  13. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 07 Oct 2010 Link to this post

    Hello Mark,

    Please find attached to this message a simple working project, which handles the desired functionality. Give it a try and let me know if it helps.

    Greetings,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  14. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 09 Jan 2011 Link to this post

    This solution doesn't really seem to help.  Let me explain the problem.  It really only shows up when you default the groups to collapse.  Imagine you have 5 groups each with 10 items.  Now assume your paging is set to 10 records per page.  When the grid first displays you should see 5 grouping lines and the page count should be one since all the groups are collapse.  If you then open the first group, the grid should update and show 2 pages with the other 4 groups on the second page.

    Check out the devexpress demo at http://demos.devexpress.com/ASPxGridViewDemos/GroupingSorting/Grouping.aspx.  Their grid seems much more intuitive when it comes to this.  Is there anyway to get your grid to do this.  I am even willing to edit your source if someone can point me in the right place to get me started.

    Thanks,
    Mark
  15. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 13 Jan 2011 Link to this post

    Hello Josh,

    The required functionality is not supported by the RadGrid control. Grouping could be applied only on the items rendered on the current page. However, you could achieve the desired functionality by using our new RadTreeList control.

    Greetings,
    Pavlina
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  16. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 13 Jan 2011 Link to this post

    Unfortunately, the RadTreeList is missing other features that my client requires that the grid has.

    Is there anyway to request this as an official feature for the future.  There are already three users on this thread alone that would like it, and I expect there are more.  If you ask me it's not a "feature".  It's more like "what makes sense".  Is there any way to get in touch with one of your developers.  I was wondering if there was a way to descend from your RadGrid and make a custom one on my own that could handle this.

    If I can't get this to work in the next month or so, I may need to abort and switch the DevExpress grid.  I would really hate to do that since I've been using Telerik controls all over the place on my site.
  17. Andrew Winter
    Andrew Winter avatar
    3 posts
    Member since:
    Dec 2009

    Posted 13 Jan 2011 Link to this post

    Hi Mark,
    I'll back you up on that one for sure. It really is such odd behaviour for the control that if I was product manager I'd be saying "We've just got to provide an option to allow it to work either way".

    We also looked at the RadTreeList and it is a long way short of the grid features. Hence we are patiently hoping it may get address.

    Come on Telerik. Tell us now if it is never going to be in your plans so we can move on.
  18. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 19 Jan 2011 Link to this post

    Hello,

    Indeed, you are right that the mentioned feature is already requested. And I can tell we have performed already a research on it to see if this can be implemented. But I am sorry to say that with the current implementation of RadGrid this is not possible.

    Please excuse us for the inconvenience this might cause you.

    Kind regards,
    Iana
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  19. Manoj
    Manoj avatar
    4 posts
    Member since:
    May 2012

    Posted 25 Jul 2012 Link to this post

    Hi Team,

    We also need this functionality. Has this been implemented?
  20. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 26 Jul 2012 Link to this post

    Hello Manoj,

    Unfortunately with the current implementation of RadGrid control this functionality can not be achieved.

    Greetings,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  21. Francis
    Francis avatar
    12 posts
    Member since:
    Jul 2012

    Posted 27 Sep 2012 Link to this post

    Wow this issue is extremely serious.

    • Collapsing a Group leads to an empty Grid most of the time.
    • GroupFooter's aggregates only use the displayed items.

    Stop the R&D on the RadBarCode reader and put all your employees to work on this. 
  22. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 03 Oct 2012 Link to this post

    Hi,

    We are currently not working on R&D on the RadBarCode reader. I suppose you mean RadBarcode for Silverlight.

    Regards,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  23. Francis
    Francis avatar
    12 posts
    Member since:
    Jul 2012

    Posted 03 Oct 2012 Link to this post

    Hey Miss Koleva,

    I was making a joke... you should simply arrange these serious issues before working on new controls...
  24. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 08 Oct 2012 Link to this post

    Hi Francis,

    As we already said several times in this post with the current implementation of RadGrid this is not possible. Grouping is actually applied only on the items rendered on the current page, so collapsing a group cannot get the items from another page (in grouped view). Please excuse us for the inconvenience this might have caused.

    As an alternative, you could consider whether you could get your data in a self-hierarchical form and use a RadTreeList instead where paging functions as you require:
    http://demos.telerik.com/aspnet-ajax/treelist/examples/firstlook/defaultcs.aspx

    Greetings,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  25. Morten
    Morten avatar
    345 posts
    Member since:
    Jul 2012

    Posted 17 Apr 2013 Link to this post

    I know it isn't the sought after solution, however, I set pageSize explicitly to 500 when I apply the GroupBy expression (and reset the pageSize when I clear the GroupBy expression).
  26. Simon Damberger
    Simon Damberger avatar
    6 posts
    Member since:
    Nov 2008

    Posted 30 Apr 2013 Link to this post

    Is this ever going to be addressed in some form or another? RadTreeList won't cut it as it isn't a true grid. You've had almost three years to work on this issue which basically makes grouping almost useless. Will there be a new iteration of the RadGrid which fixes this problem?
  27. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 03 May 2013 Link to this post

    Hi Simon,

    To implement this would mean that the grid will require full datasource in order to be able to group items that are not in the current page,  which contradicts the base design of the control. This is not scheduled for implementation, even if lots of research has been done on the subject. The idea of the grid is to show data from your database, and if you do custom paging and send to the grid only X items, you can not expect the grid to group on X+Y items. If it is suitable for you you can use the RadPivotGrid which design allows to group before paging, as it is made to support DataSources that also can do this.

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  28. Marius
    Marius avatar
    3 posts
    Member since:
    Jan 2013

    Posted 10 May 2013 Link to this post

    This is a major problem for us too!
    We may need to switch the other grid control provider because of this issue and we've chosen your toolset just because of grid.
    Do you intend to do anything at all about this?
  29. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 10 May 2013 Link to this post

    Well, first of all, the DeveloperExpress Grid manages to do it so it is possible.

    Also, when paging, grouping etc for all of our grids, we hit the server.  So I don't see why in this case, that it can't be done.  The server has access to the full datasource and it knows the state of the grouping on the grid so it should be possible.

    Countless people are looking for this feature and I still can't believe you're discounting it as opposed to coming up with a solution.  Using another control is not the answer.  If we do that we lose other features we need.

    How can you think that showing a page on a grid with one collapsed group is acceptable.  If I have a group with 100 items and my pagesize is 25, I need to page several times to get to the next group.  That's crazy.  It's beyond me how you can justify this.  I don't mean to be rude. I'm just trying to be realistic.
  30. Vasil
    Admin
    Vasil avatar
    1640 posts

    Posted 15 May 2013 Link to this post

    Hi Mark,

    You can vote for this feature, meanwhile, we will do research it this is posssible using the LINQ grouping that we are now using by default.
    http://feedback.telerik.com/Project/108/Feedback/Details/48477-improve-radgrids-grouping-to-get-more-items-from-the-next-page-when-group-in-t

    Kind regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top