1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    10
    Vote Rating
    0
    SenthilMahalingam is on a distinguished road

      0  

    Exclamation How to refreshing the total record count in paging toolbar

    Hi, After repainting the grid with the new store data, I don't know how to refresh total record count in the paging toolbar.

    I want to do this without using pagingToolBar.refresh().

    Please help me on this.Thanks.

    Code :

    store.removeAll();
    store.insert(models, 0);
    grid.repaint();
    pagingToolBar.repaint(); // This doesn't helps

  2. #2
    Sencha User atian25's Avatar
    Join Date
    Oct 2008
    Location
    china
    Posts
    114
    Vote Rating
    2
    atian25 is on a distinguished road

      0  

    Default

    why did u repaint grid?

    btw, store.insert( Number index, Ext.data.Model[] records) : void

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    10
    Vote Rating
    0
    SenthilMahalingam is on a distinguished road

      0  

    Default

    I am using repaint to show the new data I have in store now. but the total record count at the bottom of the pagingtoolbar is not refreshed. I want to know how to do it.

Similar Threads

  1. Paging without total count, Google style
    By Skinny in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 13 Dec 2014, 9:16 PM
  2. Lazy Intitialization of paging bar total count
    By hyps in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 23 Dec 2010, 5:50 AM
  3. How to get total record count in fbar text field?
    By duskandawn in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 27 Jul 2010, 4:38 AM
  4. Paging grid total count
    By cumom in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 11 Mar 2009, 9:25 AM
  5. paging+grid+how to decrement record count when a record is deleted
    By sreenija in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 10 Apr 2008, 8:59 AM

Thread Participants: 1

Tags for this Thread