PDA

View Full Version : [SOLVED] Passing paramters to a xtype



defcon1
7 Feb 2010, 9:24 AM
Hi,

I extended a Ext.Panel and defined my own component this way.

I registered it with Ext.reg to use it as a xtype. My component
constructor requires some config-parameters. How can I pass
parameters to it if I create the component-object with xtype?

Many thanks ... ;)

defcon1
7 Feb 2010, 9:28 AM
Oops, Ive found it here:

http://www.extjs.com/learn/Tutorial:Xtype_defined

Sorry for this ... ;)