Add readOnly boolean config parameter:
,readOnly:true
for example:
{
xtype:'textfield'
,x:830
,value:"MyDefaultvalue"
,readOnly:true
,y:40
,width:220
}
Reference:
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.Text-cfg-readOnly
,readOnly:true
for example:
{
xtype:'textfield'
,x:830
,value:"MyDefaultvalue"
,readOnly:true
,y:40
,width:220
}
Reference:
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.Text-cfg-readOnly
No comments:
Post a Comment