jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Groups spread across pages
Tagged: behavior, configuration, groups, jqxdatatable, jqxgrid, jqxTreeGrid, paging
This topic contains 5 replies, has 2 voices, and was last updated by Peter Stoev 10 years, 10 months ago.
-
Author
-
I’m hoping that I have something configured incorrectly to see this behavior, but I’ve been unable to find where anyone else sees it as a problem.
When I have a group with more items than fit on the current page of the grid, I just see the number of items able to be visible on the current page. So let’s say I have a group called Fruit with 15 items in it, and my page size is set to 10, then I’ll see a row with “Fruit (10)” on the first page and then a row with “Fruit (5)” on the next page. I expected to see one row with “Fruit (15)” on the first page and then some indication when going to the next page that the first 5 rows are under a group on the previous page.
Here’s a jsfiddle that shows the scenario: http://jsfiddle.net/rVT4R/24/
Notice how “Last Name: Bjorn (4)” exists on page 1 and “Last Name: Bjorn (1)” exists on page 2. Furthermore, the page looks funny with only 2 rows instead of 5 “group rows” that then break out across the pages when expanded. Notice how “Removed link” takes advantage of all of the visible space on the grid, and also adds a “Continued on next page” indicator when the group overlaps pages.What can I do to improve this behavior? I can definitely attempt to explain myself better, if needed. Just let me know.
Hi atcrawford,
The Grouping in our Grid works in that way and it cannot be modified. Unfortunately, we do not plan to make any changes in that functionality in future versions, too.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comBummer.. thanks so much for the quick response though. I’ll have to let our business types decide if this works for us as it is.
I apologize for the Forum Policy violation as well…
Hi atcrawford,
No problem. I am sorry, that the functionality that we have implemented does not work exactly in the way you wanted.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI just noticed that the jqxTreeGrid control pages exactly how I’d expect the jqxDataTable control to page when grouping is enabled. In my mind, the only difference between these two controls is that the parent row has data for each of the columns, whereas the group header row only has the name of the field that’s being grouped by and the value of the field for the specific group.
Do you still feel like this isn’t a valid feature request?
I’m left postulating about faking the grouping myself using a jqxTreeGrid… just with a drop-down of column names for grouping instead of the drag-and-drop interface. I’d need to manage the JSON data myself to make it work, of course. Might even be able to use Conditional Formatting to render the header row in a way that actually looks like a header row.
This is starting to sound possible, and that’s kind of scary. Please let me know if I’ve gone crazy.
Hi atcrawford,
Sorry, but we will not make any changes in jqxGrid’s Grouping. jqxTreeGrid and jqxDataTable are different widgets. jqxTreeGrid displays Hierarchiees – that’s what the widget is built for. It also supports Grouping – you may look at its Data Grouping demo.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.