Hi,

gwt core does not support a widget called combobox.
It supports a widget called listbox which looks like combobox.
the base for a html based combobox-like widget is <select>. The items
itself are <option>
You can give the <option> additional "content" aka an image using css.
However, the gwt listbox api does not give you access to the <option>
items.

Maybe you build a select/option structure with ui-binder and assign it
to gwt "listbox"

you could use a widget library supporting a combobox like widget.
However, I would disadvice from javascript libraries which are just
wrappers (like smartGWT).

When you like to use a real gwt widget library you may consider GWT
mosaic.

Stefan Bachert
http://gwtworld.de

On 17 Mai, 14:44, fomba collins <[email protected]> wrote:
> Hello, it may be simple but I don“t know how to do it. I want to put the 
> names of countries alongside their flags inside a ComboBox. Can someone help 
> me on how to do it?
> reggards
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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