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

Collapsing Group Collapses ALL Items

34 Answers 199 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Josh McCullough
Top achievements
Rank 1
Josh McCullough asked on 16 Jul 2010, 06:07 PM
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!

34 Answers, 1 is accepted

Sort by
0
Josh McCullough
Top achievements
Rank 1
answered on 19 Jul 2010, 01:34 PM
Anyone?
0
Pavlina
Telerik team
answered on 21 Jul 2010, 02:50 PM
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
0
Josh McCullough
Top achievements
Rank 1
answered on 21 Jul 2010, 02:51 PM
Sad. Thanks for the reply, though!
0
Andrew Winter
Top achievements
Rank 1
answered on 21 Sep 2010, 11:14 AM
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?
0
Josh McCullough
Top achievements
Rank 1
answered on 21 Sep 2010, 01:40 PM
No, I didn't find a work-around. We ended up simply not using paging which resolved the issue.
0
Pavlina
Telerik team
answered on 21 Sep 2010, 03:56 PM
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
0
Mark DeMichele
Top achievements
Rank 1
answered on 05 Oct 2010, 02:40 AM
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
0
Pavlina
Telerik team
answered on 06 Oct 2010, 03:41 PM
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
0
Mark DeMichele
Top achievements
Rank 1
answered on 06 Oct 2010, 03:57 PM
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.
0
Pavlina
Telerik team
answered on 06 Oct 2010, 04:10 PM
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
0
Mark DeMichele
Top achievements
Rank 1
answered on 06 Oct 2010, 04:25 PM
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.
0
Pavlina
Telerik team
answered on 07 Oct 2010, 11:12 AM
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
0
Mark DeMichele
Top achievements
Rank 1
answered on 10 Jan 2011, 01:49 AM
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
0
Pavlina
Telerik team
answered on 13 Jan 2011, 09:58 AM
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.
0
Mark DeMichele
Top achievements
Rank 1
answered on 13 Jan 2011, 03:13 PM
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.
0
Andrew Winter
Top achievements
Rank 1
answered on 14 Jan 2011, 04:45 AM
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.
0
Iana Tsolova
Telerik team
answered on 19 Jan 2011, 09:54 AM
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.
0
Manoj
Top achievements
Rank 1
answered on 26 Jul 2012, 04:04 AM
Hi Team,

We also need this functionality. Has this been implemented?
0
Pavlina
Telerik team
answered on 26 Jul 2012, 12:58 PM
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.
0
Francis
Top achievements
Rank 2
answered on 27 Sep 2012, 09:04 PM
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. 
0
Pavlina
Telerik team
answered on 03 Oct 2012, 06:51 AM
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.
0
Francis
Top achievements
Rank 2
answered on 03 Oct 2012, 02:03 PM
Hey Miss Koleva,

I was making a joke... you should simply arrange these serious issues before working on new controls...
0
Pavlina
Telerik team
answered on 08 Oct 2012, 03:06 PM
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.
0
Morten
Top achievements
Rank 1
Veteran
answered on 17 Apr 2013, 05:31 AM
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).
0
Simon Damberger
Top achievements
Rank 2
answered on 30 Apr 2013, 03:17 PM
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?
0
Vasil
Telerik team
answered on 03 May 2013, 01:03 PM
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.
0
Marius
Top achievements
Rank 1
answered on 10 May 2013, 10:10 AM
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?
0
Mark DeMichele
Top achievements
Rank 1
answered on 10 May 2013, 01:57 PM
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.
0
Vasil
Telerik team
answered on 15 May 2013, 08:12 AM
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.
0
Giuseppe
Top achievements
Rank 1
answered on 17 Apr 2014, 03:46 PM
Absolutelly we need this function. Please provide it as soon as possible
0
Andrew Winter
Top achievements
Rank 1
answered on 17 Apr 2014, 04:13 PM
Wow, I've been watching this for 3 years now!!! Telerik still have their head in the sand with this one and to make it worse can you believe their new flashy Kendo Grid behaves exactly the same way!

See http://demos.telerik.com/kendo-ui/web/grid/index.html
Group by Contact Title, Go to page 2 and collapse the bottom two groups, Now check out the following 2 pages. The Marketing Manager group of contacts (which you have just collapsed) spans multiple pages and you have to collapse each page worth in turn. It's just ridiculous.

I can't believe a whole new series of controls have been built and this stupid behaviour was brought over with it

COME ON TELERIK!
0
Giuseppe
Top achievements
Rank 1
answered on 17 Apr 2014, 04:15 PM
Absolutely agree
0
Vishal
Top achievements
Rank 1
answered on 09 Jan 2017, 10:45 AM

Hi Pavlina,

I have telerik grid view control on my page and currently i am showing list of items with Group By item field with a Radcombo box present at the top of Grid. Issue description is once i click on collapse button in grid view my default filtering radcombo box gets replaced with normal text box with a filter button. I don't want this text box with filter button i want my previous dropdown box. Please help me to sort out this issue.

Thanks

0
Konstantin Dikov
Telerik team
answered on 12 Jan 2017, 07:42 AM
Hello Vishal,

If you want to use custom filter controls you need to define them in the FilterTemplate of the column:
If you have something different in mind, please provide additional information on the scenario.


Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Josh McCullough
Top achievements
Rank 1
Answers by
Josh McCullough
Top achievements
Rank 1
Pavlina
Telerik team
Andrew Winter
Top achievements
Rank 1
Mark DeMichele
Top achievements
Rank 1
Iana Tsolova
Telerik team
Manoj
Top achievements
Rank 1
Francis
Top achievements
Rank 2
Morten
Top achievements
Rank 1
Veteran
Simon Damberger
Top achievements
Rank 2
Vasil
Telerik team
Marius
Top achievements
Rank 1
Giuseppe
Top achievements
Rank 1
Vishal
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or