Ajax Request in pushed Panel
Hi,
I am trying to load Data into a Panel which gets pushed on a Navigation.View, but in the Chrome Developer Tools there is no request sent. Is this the default behaviour or is something wrong with my code.
Controllermethod:
Code:
showDetails: function(list, index, element, record){
this.getDictionary().push({
xtype: 'detailPanel'
});
}
DetailPanel:
Code:
Ext.define('DetailPanel', {
extend: 'Ext.Panel',
xtype: 'detailPanel',
store: {
autoLoad: true,
model: "User",
proxy: {
type: 'ajax',
url: 'content.json',
reader: {
type: 'json',
rootProperty: 'Content'
}
}
},
html: '<h1>I can see this Message</h1>'
});
Thank you