Get class name by xtype

17 Views Asked by At

with Ext.ClassManager.get('Ext.panel.Panel') I get access to the origional class. But if I only have the xtype how do I get the same result? Ext.ClassManager.get('panel') is undefined

Thanks, Arno

1

There are 1 best solutions below

0
Arno Voerman On

I found the solution by debugging Ext.create(...) By adding widget. before the xtype-name I can call Ext.ClassManager.getByAlias('widget.panel') to get the proper class.

Arno