Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

ExtJS Interview Questions and Answers

Ques 11. What is use of Ext.onReady() function ?

Ext.onReady is probably the first method that you’ll use on every page. This method is automatically called once the DOM is fully loaded, guaranteeing that any page elements that you may want to reference will be available when the script runs.
syntax:
Ext.onReady(function() {
alert(“Congratulations! You have Ext configured correctly!”);
});

Is it helpful? Add Comment View Comments
 

Ques 12. For example, to show our message when any paragraph in our test page is clicked, what is the ExtJS code on paragraph click?

Ext.onReady(function() {
Ext.select('p').on('click', function() {
alert("You clicked a paragraph");
});
});

or

Ext.onReady(function() {
var paragraphClicked = function() {
alert("You clicked a paragraph");
}
Ext.select('p').on('click', paragraphClicked);
});

Is it helpful? Add Comment View Comments
 

Ques 13. List out the extjs library files to include in JSP page?

ext-base.js
ext-all-debug.js or ext-all.js
ext-all.css
base.css or examples.css

Is it helpful? Add Comment View Comments
 

Ques 14. List out the css file required to apply Extjs Theme property?

xtheme-gray.css
ext-all.css

Is it helpful? Add Comment View Comments
 

Ques 15. What is purpose of MessageBox?

MessageBox is asynchronous.
MessageBox call, which demonstrates the readable message to user.
MessageBox used for multiple purpose like
Ext.Msg.alert()
Ext.Msg.prompt()
Ext.Msg.show({});
Ext.Msg.wait();

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook