I have a store and dynamically change its URL.
store_form.proxy.conn.url=url;
store_form.load();
tabs.activate(1);
So if I change the URL, data in the store are going to change.
This store I load into FromPanel
, which is located in a tab:
listeners: {
'activate' : function(zemform,records,options) {
console.log("store:"+store_form.getAt(0));
this.loaded = true;
var record = store_form.getAt(0);
zemform.getForm().loadRecord(record);
//store_form.reload();
}
},
But when the tab is opened, I see previous data. New data show only when I click on another tab and then click back. What's wrong with it?