Could it be, that the style is set but not shown. We're adding CSS-
classnames to option- elements of a listbox too, but only in FF there is a
change visible. Because the listbox for example in IE will not refresh its
GUI after adding styles to its items. I have not found a fix for this yet...
there should be a way to refresh GWT- components on view.

-Danny

2009/3/23 priya <[email protected]>

>
> Hi all,
>
> I have one ListBox in my GWT application.
> I want to set CSS for some of the items in this ListBox..
>
> I am using following code for this:
>
>           DOM.getChild(listBox.getElement(), i + 1).setClassName
> ("list_box_style");
>
> This code is working perfect in Firefox but not working in Safari
> browser.
>
> I don't know this is problem of DOM.getChild() method or setting style
> for that.
>
> Is Safari supports DOM.getChild() method?
>
> If anyone know another way then please suggest...
>
> Any help is welcome..
>
> Thanks in advance,
>
> Priya
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to