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 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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1382
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  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
  •