ne0vincent
2 Jul 2012, 5:07 AM
Hi,
I'm trying to catch the end of AJAX loading of data.
I've tried some different listeners parameters, but nothing works.
var store_poles = Ext.create('Ext.data.Store', {
fields: ['name'],
proxy: {
type: 'ajax',
url : PolesData,
reader: {
type: 'json',
root: 'Poles'
}
},
autoLoad: true,
listeners: function(param, param2){ alert("test"); }
});
any idea ? :(
I'm trying to catch the end of AJAX loading of data.
I've tried some different listeners parameters, but nothing works.
var store_poles = Ext.create('Ext.data.Store', {
fields: ['name'],
proxy: {
type: 'ajax',
url : PolesData,
reader: {
type: 'json',
root: 'Poles'
}
},
autoLoad: true,
listeners: function(param, param2){ alert("test"); }
});
any idea ? :(