I have a chart with a store using EXTJS4 MVC structure and I get data from an online api via another javascript file and I want to know if it possible to add the data to the store externally so it will load when I call store.load().
The external js is not extjs or part of the mvc, it runs on the page behind my chart. Would I have to transfer all the logic into an extjs controller? Is there a way to call a extjs method from an external js? Thanks.
Ended up using the following to access a local js file.
make sure in your app.js you start the Ext.Loader like so: