1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    29
    Vote Rating
    0
    avilanchee is on a distinguished road

      0  

    Default populating a grid with two different stores

    populating a grid with two different stores


    Hey all,

    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 ???

    -avi

  2. #2
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
    Arno.Nyhm is on a distinguished road

      0  

    Default


    you can change the store of a grid with this method:

    Grid#reconfigure

    http://www.extjs.com/deploy/gxtdocs/...ColumnModel%29


    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

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    29
    Vote Rating
    0
    avilanchee is on a distinguished road

      0  

    Default


    yes that did work . thank you !

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi