4 May 2012 1:51 AM #1
Unanswered: Reloading store after data on web service changed
I am building a shopping list app. The shoppinglist and its items are stored on a web service. After my posted an new shoppinglist item to my web service I want to reload the store witch loads the shopping list. I tried it by using .load() on the same store, but then the nested values of the data that the store returns are empty.
Does anyone know how I can make this work?
Thanks in advance.
6 May 2012 3:49 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The new data is saved to your database or however you save it?Mitchell Simoens @SenchaMitch
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.
6 May 2012 4:23 AM #3
Indeed. I posted the data to my web service. The web service stored it in a database. Im now actually thinking that updating the complete shoppinglist after I added a new product to it, is not necessary so I will only add one new item to the list.