In my application I'm using a store that retrieves Data using a SAP gateway. I load my store in app.js. This is the code I use:
var activityStore = Ext.create('App.store.Activities');
Ext.create( 'App.view.List', { store: activityStore
});
activityStore.load();
working.png
This works fine, I get a list with all the items. When I go to another view and return to the List view, there are no items anymore, so the list doens't show. I don't understand why this time the list doesn't show up because I use the same code (above) in the function of my "back" button. This function is in my controller. (main.js)
The console doesn't show any error messages.
not_working.png
Is there anyone who knows what I have to do?