How to change CSS of textField
I want to put a data of a store into in a part of my page normaly, like a simple text.
I try with a disabled textField and it's work fine.
So i would like to change the CSS of the textField (with config option "disableClass"), but it don't work.
For test, i just set a CSS like this :
a background ...
Did you use disableClass (wrong name) or disabledClass (correct name)?
I use "disableClass", like it's writen in doc :
Is there an error in doc ?
Sorry, I was checking the Ext 2.0 docs, where the property is called disabledClass.
Could you please post just the relevant portion of your code?
Well, yes, it is a documentation bug. Check the source code, the property is in fact called disabledClass in Ext 1.1.1 too:
It's OK : with "disabledClass", it's work fine.