nene edited this page Mar 21, 2012 · 3 revisions


@xtype name

Documents xtype of the class.


 * @class Ext.grid.Panel
 * The grid of data.
 * @xtype grid

Writing @xtype grid is shorthand for @alias widget.grid. See @alias for details.


This tag is auto-detected when class comment is right above Ext.define which contains xtype:. The following code is equivalent of the above one:

 * The grid of data.
Ext.define("Ext.grid.Panel", {
    xtype: "grid",

Otherwise the auto-detection behaves just like with @alternateClassName tag.