I found the reason: the ListBoxis not updated. If I use setVisible() to hide
it and show it again the list is updated correctly. Any Idea? Is this a bug
and is there a "clean" way to fix this?

2008/10/2 Schimki86 <[EMAIL PROTECTED]>

>
> I have a ListBox ("select") with items ("options"). Now i have to
> change the style on an option-element:
>
>
> listBox.getElement().getElementsByTagName("option").getItem(i).setClassName("empty-
> option");
>
> When I want to remove the style I do it on same way, but instead a
> class-name I use an empty string ("")
>
> When a RcihTextArea changed its text, the ListBox should update. The
> class name should be added or cleared, but only the ListBox-Text
> changed its style. When I open the ListBox, the items keep their
> styles... any idea?
>
> >
>

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