Results 1 to 4 of 4

Thread: Bug in grid pagination

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User Carlos Souza's Avatar
    Join Date
    May 2015
    Location
    Minas Gerais, Brazil.
    Posts
    29

    Default Bug in grid pagination

    Hello everyone!


    I found a bug in grid pagination.
    I will illustrate the problem:

    I have a grid with 11 records, and my store has pageSize = 10, ie on the first page, 10 records are shown and on the second page only one record is shown.
    When I delete the only record of the second page and refresh the grid store by the paging toolbar refresh button, the paging toolbar is blocked and I can,t navigate to any page. It's because the paging toolbar tries to refresh the grid store with this parameters: {start: 10, limit: 10, page: 2}, but the page 2 doesn't exists no longer, and the limit 10,10 will not return any value.

    I made a short video demonstrating the error (it's only 39 seconds): https://mega.co.nz/#!ks0iTAqY!qLqfPo...RF_fnWuy0M3YPs


    This occurs if you delete the last record of a grid page, as long as this page is not the first page.

    Thanks inadvance and sorry for my english.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. Can you please post a test case which reproduces the issue?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User Carlos Souza's Avatar
    Join Date
    May 2015
    Location
    Minas Gerais, Brazil.
    Posts
    29

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Thanks for the report. Can you please post a test case which reproduces the issue?
    https://fiddle.sencha.com/#home
    Unfortunately not. In this case, a grid with local store will not be sufficient to demonstrate the bug, and the fiddle does not support database connection.
    Here is the update of the video (this version is better explained) :

    https://mega.co.nz/#!U50QgQgS!-AGUGU...TOXItpjQT6R3Qc

    Note that after refreshing the store by the paging toolbar refresh button, the paging toolbar is automatically blocked.
    If you want, I can also add the video to youtube.


    I want to emphasize that this bug is not a problem of the database, but an error in the parameters automatically sent when clicking the paging toolbar refresh button.

    If there's anything else I can do, please let me know.

  4. #4
    Sencha User Carlos Souza's Avatar
    Join Date
    May 2015
    Location
    Minas Gerais, Brazil.
    Posts
    29

    Default

    Does anyone have any idea about this trouble?

Similar Threads

  1. GXT Pagination Grid - Populate XML String as Grid Column Data
    By ponsu in forum Community Discussion
    Replies: 3
    Last Post: 9 May 2013, 12:33 PM
  2. Pagination in Grid -- Buffered pagination or Override Paging Toolbar
    By jAson bOurnE in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Oct 2010, 1:51 AM
  3. Dinamic column model with pagination - pagination problem
    By zharack in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 23 Jun 2009, 12:43 AM
  4. Pagination with Grid
    By PremiereGlobal in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 14 Apr 2008, 5:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •