1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    7
    Vote Rating
    0
    BigWookie is on a distinguished road

      0  

    Default Unanswered: Notify View about changes in Store from Proxy

    Unanswered: Notify View about changes in Store from Proxy


    I'm trying to add the ability to sync multiple Stores within the CRUD paradigm, to do this I extended Ext.data.proxy.Proxy. Now when I want to call create or update the other stores ( theyr proxies ) have to call create and update too and afterwards notify their view about the changes. When create is called it gets a callback from the framework, there could be a possible solution if I knew the required function. Hope you can help thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    Answers
    3157
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Not too sure I understand your workflow but can't you just fire the same events like load or update event?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    7
    Vote Rating
    0
    BigWookie is on a distinguished road

      0  

    Default


    Okay I was searching on the wrong end, the Proxy has nothing to do with the Contents of the Store as it is only passive. Better would be overloading the store and try to get events when changes occur and pass them to the other store to simulate the events and notify the views.

    As this is a long search for me I would appreciate any help with it. : ) thanks