PDA

View Full Version : xtype insteed of alias in class definition.



salarmehr
14 Dec 2014, 3:51 AM
Is there any difference between the two following class definition methods?Ext.define("Test", {
extend: "Ext.grid.Panel",
xtype: "test"
});
Ext.define("Test", {
extend: "Ext.grid.Panel",
alias: "widget.test"
});

richardvd
14 Dec 2014, 6:31 AM
You already asked the same question at the same time on SO: http://stackoverflow.com/questions/27469049/xtype-insteed-of-alias-in-class-definition