6 Nov 2011 11:05 AM #1
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
7 Nov 2011 7:52 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.
8 Nov 2011 4:10 AM #3
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