1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    21
    Vote Rating
    0
    checks is on a distinguished road

      0  

    Default Clear data from paging toolbar

    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
    8,868
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Try calling pagingToolbar.updateInfo()

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    21
    Vote Rating
    0
    checks is on a distinguished road

      0  

    Default


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

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    1
    paultorben is on a distinguished road

      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
    nirzo is on a distinguished road

      0  

    Default Someone can help here?

    Someone can help here?


    Thanks!