Explain how to register callbacks to the load and exception events of the JsonStore?

Submitted by: Administrator
var grid = new Ext.grid.GridPanel({
store: new Ext.data.JsonStore({
[...]
listeners: {
load: this.onLoadSuccess.crateDelegate(this),
exception: this.onLoadException.createDelegate(this)
}
}),

onLoadSuccess: function () {
// success
},

onLoadException: function () {
// error
},

[...]
}
Submitted by: Administrator

Read Online Ext-JS Job Interview Questions And Answers