Results 1 to 5 of 5

Thread: Clear data from paging toolbar

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    21
    Vote Rating
    0
      0  

    Default Clear data from paging toolbar

    Hello,

    I have the next problem....

    I use a GridPanel, when I close the window I call the function store.removeAll() and it works fine,
    but when I open again the window the number of pages in the paging doesn't and without rows the number of pages are like 1 - 15paging.jpg

    how can I reset those values???

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    Try calling pagingToolbar.updateInfo()

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    21
    Vote Rating
    0
      0  

    Default

    Scott, I tested it and it didn't work.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    1
      0  

    Default

    Scott: updateInfo is a Private function on pagingtoolbar - any other suggestions?

  5. #5
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default Someone can help here?

    Thanks!

Posting Permissions

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