PDA

View Full Version : autoEl for TreeEditor in 3.0



useruseruser
22 Apr 2010, 7:26 AM
Hello.
I was working at customizing the component for TreeEditor (I need something like a textfield and 4 buttons).
For this I used:



autoEl:{
tag:'div',
cls:'inlineMenu',
children:[{
tag:'div',
cls:'moveButtonBar',
children:[
{
tag:'div',
cls:'textEditor',
children:[{
tag:'input',
type:'text',
id:'catName'
}
]
},
{

tag:'div',
cls:'moveButtonDown',
children:[
{tag:'div',
cls:'buttonDown',
title:'move down'

}
]
}

]
}
]
},

It worked in ext 2.0 but now i was trying it in 3.0 and seems that TreeEditor doesn't take this autoEl anymore, it shows now the regular editor. Is there a migration problem ?
Thanks