[CLOSED] NUMBER TOTAL RECORDS IN GROUP with paging

  1. #1

    [CLOSED] NUMBER TOTAL RECORDS IN GROUP with paging

    I have a gridpanel with pagingtoolbar and grouping in the store put pagesize = 50, the problem is that there are groups that have more than 50 records, for example 140 records.

    Shown at 50 in the first page records, 50 records shown in the second page, and 40 records shown in the third page, so:
    *
    group 1 ----- 50 regs page 1
    group 1 ------50 regs page 2
    group 1 ------ 40 regs page 3

    how i add total records pertaining to group?

    So:

    Group1 ----- 50 of 140 regs page 1
    group2 140 ----- 100 of 140 regs page 2
    group 3 140 ------ 140 of 140 regs page 3

    you can do that??

    I had to put the paging data because many are loaded in the grid to be faster, or any other suggestion thanks
    thank you
    Last edited by Daniil; Aug 23, 2013 at 4:43 AM. Reason: [CLOSED]
  2. #2
    Hi @JCarlosF,

    There is no a built-in option to organize paging per group. It should be possible, but might be quite complicated even for a very experienced Ext.NET/ExtJS developer. At least, will require some time.

    I had to put the paging data because many are loaded in the grid to be faster
    You could try a BufferedRenderer plugin instead of a PagingToolbar if it suites your needs.
    https://examples2.ext.net/#/GridPane...red_Scrolling/

    An alternative solution could organizing your custom paging (without a PagingToolbar). Two buttons: Prev and Next. Accordingly, bind a group data to the Store from a server.
  3. #3
    A new GroupPaging plugin for PagingToolbar has been added to SVN, revision #5336. Please review, maybe it suites your needs.

Similar Threads

  1. Number total records in group
    By JCarlosF in forum 2.x Help
    Replies: 0
    Last Post: Aug 10, 2013, 4:11 PM
  2. Replies: 0
    Last Post: Nov 24, 2012, 11:45 PM
  3. [CLOSED] How to set Paging toolbar total page count and total records?
    By rnachman in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 10, 2012, 5:38 PM
  4. Replies: 1
    Last Post: Jan 08, 2012, 6:10 AM
  5. Replies: 20
    Last Post: Dec 16, 2010, 12:02 PM

Posting Permissions