Study/Ext JS2011. 5. 20. 14:51
출처 : http://stackoverflow.com/questions/3488228/config-sample-in-extjs


var configObject = {
   xtype
: 'label',
   width
: 50,
   text  
: 'some Text'
}
//create a panel
new Ext.Panel({
    id
: 'someID',
    items
: [
    configObject
,
   
{
       xtype
: 'textfield'
   
},
    configObject
,
   
{
      xtype
: 'radio'<br>
   
}
   
]
})

Or:

new Ext.form.Label(configObject);
Posted by 굥쓰