How to load data to multiple stores with one request in Sencha Touch?
How to load data to multiple stores with one request in Sencha Touch?
Hi,
I'm developing a Sencha Touch application that has multiple data stores. In order to improve performance, I would like to load the data to these stores in a single HTTP request.
For this to work, the server would output different JSON root elements, one for each store. How can this be done in Sencha Touch?
You should make an "Ext.Ajax.request()", in the success config you need to decode the json, after that you need to add the records to the store that you need.