Results 1 to 2 of 2

Thread: Error in pagination (bug?)

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

    Default Error in pagination (bug?)

    Hello everyone!


    I am relatively new to ExtJS 5 and I'm having problems with pagingtoolbar.
    I will illustrate my 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.


    I find it a bit difficult to speak exactly what's going on, so I made a short video demonstrating the error (it's only 39 seconds): https://mega.co.nz/#!ks0iTAqY!qLqfPo...RF_fnWuy0M3YPs


    Is this a bug? How to fix it?


    Thanks in advance and sorry for my english...

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

Similar Threads

  1. 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
  2. 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
  3. error introducing pagination
    By nunziofiore in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 12 Feb 2008, 12:17 PM

Tags for this Thread

Posting Permissions

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