AtulDawkhare
8 Feb 2012, 1:44 AM
Hi
I have a Grid with pagination bar at bottom. Now I have created Grid instance on page load.So assume that on page load I have 2 records in Grid , and pagination bar shows 2 Records only,which is correct.
Now on some condition [may be consider as onchange list box event ] I have to changes the Grid's content, So i have done using
grid.bindStore(gridStore);
grid.store.load();
Now my store's data is populated properly [ i.e. new 10 records] but the pagination bar is not showing proper data. [it shows 2 record]
Can you please suggest me what is the problem?
Note:- Grid and pagination bar both are using the same store.
I have a Grid with pagination bar at bottom. Now I have created Grid instance on page load.So assume that on page load I have 2 records in Grid , and pagination bar shows 2 Records only,which is correct.
Now on some condition [may be consider as onchange list box event ] I have to changes the Grid's content, So i have done using
grid.bindStore(gridStore);
grid.store.load();
Now my store's data is populated properly [ i.e. new 10 records] but the pagination bar is not showing proper data. [it shows 2 record]
Can you please suggest me what is the problem?
Note:- Grid and pagination bar both are using the same store.