ExtJS Interview Questions and Answers
Question: How to handle event for a extjs component?Answer: 1) Using listeners config object.For ex for grid events : listeners: {rowclick: gridRowClickHandler,rowdblclick: gridRowDoubleClickHandler} 2) Using addListener( String eventName, Function handler, [Object scope], [Object options] ) : void Appends an event handler to this component 3) Using on( String eventName, Function handler, [Object scope], [Object options] ) : void Appends an event handler to this element (shorthand for addListener) For ex: store.on( "datachanged", function( store ){ ..... }); |
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?