Zimi
11 Feb 2015, 8:16 AM
Hi,
I have the following problem: I have a store, what is not loaded (autoLoad: false). I added the store to a grid, what have a PagingToolbar (here is set the store too). I have an event (rowclick on an other grid), what load the store (grid.getStore().load();). And now come my problem. The page number on the PagingToolbar stay "1" (but I have 500 item). If I click to the refresh button on the PagingToolbar it's working fine, I get the correct pagenumber. (and if set the autoLoad:true, then it's okay too).
What is the problem?
I have the following problem: I have a store, what is not loaded (autoLoad: false). I added the store to a grid, what have a PagingToolbar (here is set the store too). I have an event (rowclick on an other grid), what load the store (grid.getStore().load();). And now come my problem. The page number on the PagingToolbar stay "1" (but I have 500 item). If I click to the refresh button on the PagingToolbar it's working fine, I get the correct pagenumber. (and if set the autoLoad:true, then it's okay too).
What is the problem?