Threaded View

  1. #1
    Sencha User andy_ghg's Avatar
    Join Date
    Feb 2009
    Location
    MeiLing Yangzhou JiangSu China
    Posts
    30
    Vote Rating
    0
    andy_ghg is on a distinguished road

      0  

    Default Answered: About MVC and Ext.data.Store

    Answered: About MVC and Ext.data.Store


    I used Ext JS MVC in my project. I have a question about Ext.data.Store.


    What time load data?


    If I load the data in "afterrenderer" event, when I open a new view, it'll be reload the data. If I do not want to reload, how can I do? I just want to reload the data in "creat","update" and "delete" method.

    Sorry about my English.
    I like ExtJs
    ExtJs is My life~!

  2. Do you create the store when you create the component? If so then you can load the store right away and the component that it is attached to should detect the store is loading and mask the component.

    If the store already exists then the afterrender is a valid place to load it.

Thread Participants: 1