Explain how to handle exception while loading datastore?
Submitted by: Administratorusing loadexception event.
syntax: store.loadexception() : Fires if an exception occurs in the Proxy during loading.
use beforeload : ( Store this, Object options ) : Fires before a request is made for a new data object. If the beforeload handler returns false the load action will be canceled.
syntax:
store.on('loadexception', function(event, options, response, error) {
alert("Handling the error");
event.stopEvent();
});
Submitted by: Administrator
syntax: store.loadexception() : Fires if an exception occurs in the Proxy during loading.
use beforeload : ( Store this, Object options ) : Fires before a request is made for a new data object. If the beforeload handler returns false the load action will be canceled.
syntax:
store.on('loadexception', function(event, options, response, error) {
alert("Handling the error");
event.stopEvent();
});
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. |