Ext has more than 300 classes which can be used for different functionalities.
Ext.define() is used to define classes in Ext JS.
Class name is the name of class according to app structure e.g. appName.folderName.ClassName studentApp.view.StudentView.
Class properties/members - defines the behaviour of class.
Callback function is optional which is called when a class is properly loaded.
Similar to other OOPS based languages, we can also create objects in Ext JS.
Different ways of creating objects in Ext JS are:
Using new keyword:
Inheritance means, using functionality defined in class A into class B.
In Ext JS, inheritance is done using 2 methods
Here custom class StudentDetailsGrid is making use of basic features of Ext JS class GridPanel.
Mixins is a different way of using class A in class B without using extend.
Mixins are added in controller by declaring all the other classes such as store, view etc. Similarly DepartmentUtils class can be called to use its functions in controller or in this application.
Ext JS Related Tutorials
|Java Script Tutorial||J Query Tutorial|
|JavaServer Faces (JSF) Tutorial||Java Tutorial|
|Java 8 Tutorial||Java XML Tutorial|
|The Java Debugger (JDB) Tutorial||Java.math Package Tutorial|
Ext JS Related Interview Questions
|J Query Interview Questions||JavaServer Faces (JSF) Interview Questions|
|Java collections framework Interview Questions||Java 8 Interview Questions|
|JavaFX Interview Questions||The Java Debugger (JDB) Interview Questions|
Ext Js Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.