18 Feb 2013 12:20 AM #1
Unanswered: Styling textarea
I want styling my textarea field in dynamic. I find that it can be done by use setFieldStyle method of Ext.form.Field class, which take a css style config as arguments.
18 Feb 2013 8:23 AM #2
- Join Date
- May 2012
- Vote Rating
use "fieldCls" config of the textfield
You can use "fieldCls" config of textfield component.
for more info read API docs- http://docs.sencha.com/ext-js/4-1/#!...t-cfg-fieldClssword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
18 Feb 2013 6:05 PM #3
Thanks for answer sword!
"fieldCls" config applyed on init component, but I need to change field style on text input - change bg color for valid\invalid data. In this case I can't apply new field class by setting fieldCls.