var store = new Ext.data.JsonStore({
totalProperty: 'total',
root: 'data',
url: gridUrl,
remoteSort: true,
scope: this,
fields: fields,
listeners: {
exception: onLoadException.createDelegate(this),
load : onLoadSuccess.createDelegate(this)
}
});
onLoadSuccess = function(store, records, options) {
if (store.dataLength == 0) console.log('No records received');
console.log('01 - Data Store listener fired (load), arguments:', arguments);
console.log(' this:',this);
};