-
How to change CSS of textField
How to change CSS of textField
Hello,
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 :
.myTextField {
color:black;
a background ...
}
Best regards.
-
Did you use disableClass (wrong name) or disabledClass (correct name)?
-
I use "disableClass", like it's writen in doc :
http://extjs.com/deploy/ext/docs/out...g-disableClass
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:
http://extjs.com/deploy/ext/docs/out...onent.jss.html
-
Hello,
It's OK : with "disabledClass", it's work fine.
Thanks.
Best regards.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us