xtype question
original my code is
new Ext.form.TextArea({
autoScroll: true,
selectOnFocus: false,
width: '100%'
}}
then i use "xytpe" to promote performance ,and set id to get the component
{
id:'xxx',
xtype: 'textarea',
autoScroll: true,
selectOnFocus: false,
width: '100%'
}
How could I get the textArea component ,and can use Ext.form.TextArea methods ?
I Use " Ext.get('xxx') " beacuse this method is return Element Object ,so i can not use Ext.form.TextArea methods.
Thanks :D
#If you have any other info about this subject , Please add it free.# |