Explain how to register callbacks to the load and exception events of the JsonStore?
Submitted by: Administratorvar 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
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
Top Ext-JS Questions
☺ | What is Ext JS? |
☺ | Tell me what is maximum size of http post request? |
☺ | Explain EXT-JS Life cycle? |
☺ | Explain why did you choose Ext JS? |
☺ | Explain EXTJS components? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |