1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    200
    Vote Rating
    4
    dedoz is on a distinguished road

      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
    200
    Vote Rating
    4
    dedoz is on a distinguished road

      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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar