The official release of Ext.NET Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More

Group Minimisation and Paging

  1. #1

    Group Minimisation and Paging

    Hello,

    We use paging and groups in one grid panel and when a group is minimised it still takes up the same number of pages.

    e.g. if a group that originally took up 3 pages is minimised, the next group will still be on the fourth page and the preceding pages will be blank.

    Is there a way to remove the white space between the first and second groups?

    Thank you,
    Ben

    Click image for larger version. 

Name:	EXTGroupPage.jpg 
Views:	2 
Size:	68.3 KB 
ID:	25097
  2. #2
    Just to make this post a little more clear (i hope).

    Assume you have 50 rows in a grid with page size of 25. You then have a 2 groups of 25 rows each which would result in group 1 of 25 rows being displayed on page 1 and group 2 of 25 rows displayed on page 2.

    What the users are requesting is that when group 1 is collapsed then all 50 rows are displayed on page 1 (group 1 collapsed and group 2 expanded).

    The reason they are requesting it is because if we have 500 rows instead of 50 and splits of 250 per group over 20 pages then when they collapse group 1 they don't have to navigate to page 12 or so in order to start viewing the group 2 rows.

    Searching the forums I found an old post from 09 that suggested this was not possible.

    Ta,
    D
  3. #3
    Hello @CanopiusApplications!

    I'm afraid the group paging plug in only supports keeping one group per page ignoring the page size in the store. If you just use paging, you can see the group rows are completely ignored by the page size specification in the store. The paging and grouping features are not mutually aware.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  4. #4
    Hi Fabricio

    Thanks for the response and I kind of guessed that was the case. I think in this situation the UI is probably trying to do too much so it is easily solved with some redesign which eliminates the problem.

    D
  5. #5
    Hello, @ConopiusApplications!

    Yes, and if you think "dom-wise" (as for how heavily loaded the page will be), grid have buffered scrolling in which only the immediately viewable (and a "buffer" above and below to help smoothness) contents are actually rendered, and the rows getting far from viewable area are discarded as new rows are rendered as they get close.

    This helps you using grouping with a reasonably large amount of data without hitting usability.

    Anyway, let us know if you need more help with this issue.

    Hope this helps you in the redesign decisions!

    EDIT: oops! we're talking about Ext.NET 2! Down to this version, buffered rendering should be enabled by the user! Back in 2.x, this feature was still maturing.
    Last edited by fabricio.murta; Jan 15, 2018 at 4:37 PM.

Similar Threads

  1. Replies: 3
    Last Post: Apr 15, 2016, 11:28 AM
  2. [CLOSED] group summary does not support paging?
    By tobros in forum 2.x Premium Help
    Replies: 7
    Last Post: Oct 11, 2013, 1:29 AM
  3. [CLOSED] group level paging in gridpanel
    By PriceRightHTML5team in forum 2.x Premium Help
    Replies: 6
    Last Post: Oct 04, 2013, 6:51 AM
  4. [CLOSED] Group Count in Grid Panel along with paging (0.8.3)
    By vedagopal2004 in forum 1.x Premium Help
    Replies: 2
    Last Post: Nov 24, 2010, 8:20 AM
  5. Group By with Paging only groups visible rows
    By rthiney in forum 1.x Help
    Replies: 3
    Last Post: Sep 21, 2009, 6:42 PM

Posting Permissions