ExtJS Interview Questions and Answers
Question: How to handle exception while loading datastore?Answer: Using 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(); }); |
Is it helpful?
Yes
No
Most helpful rated by users:
- Why did you choose Ext JS?
- Why do we need javascript Library?
- What is syntax for Extjs Button click event?
- How to access DOM element using EXTJS?
- Integration of Web development server-side frameworks with Ext JS?