Results 1 to 3 of 3

Thread: Notify View about changes in Store from Proxy

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    7
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Answers
    3884
    Vote Rating
    1294
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

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

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    7
    Vote Rating
    0
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •