11 Jan 2010 4:26 AM #1
populating a grid with two different stores
need help in populating a grid with two different stores . On a button press i need to populaye the grid with store2. On another button press need to clear the grid and populate with store2.
I tried using pageLoader.load(config) mehtod to call two different loaders on button press. But stuck with binding the paging toolbar to the alternate loaders. Any ideas ???
13 Jan 2010 9:59 AM #2
you can change the store of a grid with this method:
the other solution is to have two grids and hide one grid and show the other ... it looks like the same grid ;-)This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041
18 Jan 2010 11:03 PM #3