1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    220
    Vote Rating
    9
    dedoz will become famous soon enough

      0  

    Default newb question #156: How to tell to grid, store has changed ?

    newb question #156: How to tell to grid, store has changed ?


    I have a grid.Panel and two stores (store1 and store2)
    grid store is set to store1.
    one grid column has a renderer function to display data from store2.

    if i "reload" the store1, grid "re-renders" the values, this works fine.
    when i reload store2, i need tell to the grid to do the same thing.

    how can i tell the grid to "re-render" the values ? (not a full render, just to re-read the store1 values, same effect as i load the store1)

    im trying using store1.fireEvent("load"); but nothings happens, i guess grid listen to some store1 event to know when to re-render its values ?

    (sorry for my bad english)

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    220
    Vote Rating
    9
    dedoz will become famous soon enough

      0  

    Default


    after looking at the source code, i ended with

    myGrid.getView().refresh();

    dont know if its the best way but in the source says its look for the store data again and it works.

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