9 Apr 2012 4:10 AM #1
Unanswered: Views on a global Store
i need a global store which contains many posts (identified by an unique id from the server) and some stores which interact as a view (like in databases) on this global store.
The problem is that the views are communicating with the server and do remoteFiltering there (own implementation, note remoteFilter of ST2).
Now i have two solutions: Either I use many stores, iterate across all of them and manipulate all corresponding records or I provide many ST2 (local) filters and use one global store.
The solution I want is having many stores, retrieving filtered Notes from the server but storing them in one global store. The (not global) stores should only reference to the posts which they should contain.
Is their any possibility?
9 Apr 2012 4:53 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can have the global store listen for the load event or datachanged event on the local stores.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.