On Tue, Jan 31, 2012 at 5:56 PM, Katta Vijay <[email protected]> wrote:
> Here I'm trying to create a textfield as disabled with background
> color as a red/green!
> i can able to make it as a disabled but color doesn't rendering in
> browser...
> i'm using
>
> textfield.setStyleAttribute("backgroundColor","green"); method but
> it's not rendering into browser !
>
> any idea about this kind of issue .
>
> Thanks in advance
>
> Vijay Katta
>
>
>
> Define a style in your gxtAll.css for ex in css
XYZ
{
backgrnd : green;
}
textfield..setStyleName("XYZ");
try this it will work
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.