Forum /
Ext JS Community Forums 4.x /
Ext: Discussion /
How to refreshing the total record count in paging toolbar
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
Sencha User
why did u repaint grid?
btw, store.insert( Number index, Ext.data.Model[] records) : void
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
By hyps in forum Ext 3.x: Help & Discussion
Replies: 3
Last Post: 23 Dec 2010, 5:50 AM
By duskandawn in forum Ext 3.x: Help & Discussion
Replies: 3
Last Post: 27 Jul 2010, 4:38 AM
By cumom in forum Ext GWT: Help & Discussion (1.x)
Replies: 1
Last Post: 11 Mar 2009, 9:25 AM
By Skinny in forum Ext 2.x: Help & Discussion
Replies: 3
Last Post: 21 Nov 2008, 4:17 AM
By sreenija in forum Ext 1.x: Help & Discussion
Replies: 2
Last Post: 10 Apr 2008, 8:59 AM
Tags for this Thread
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us