I just updated our gwt-traction library with a new GroupedListBox
control. It's a ListBox that uses optgroup tags to group items in the
list.

It was more difficult to implement than I expected because
SelectElement.getOptions() doesn't behave as expected when there are
optgroup nodes in the select. Nearly everything (addItem, removeItem,
getSelectedIndex, etc) had to be implemented using the DOM. I suspect
this is why you don't see many people using optgroup in the wild.

There's a Demo on the project page: http://code.google.com/p/gwt-traction/

-Andy

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