Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Drop down Table/Grid? i.e. ComboBox but multiple columns
Given that a ComboBox is like a table/grid with 1 visible column, is there a standard way of getting a ComboBox/button to have multiple columns?
Sometimes 1 visible column simply isn't enough. Of course the selected caption would have to be one of those columns or some computed value.
Thanks.
Hi,
I have some sometimes just used a composition of TextField and Table for such a use case. Pretty simple to do and actually scales much better than plain ComboBox as well. Making the Table to appear as a "flowting" over other components is tricky though (can be achieved with AbsoluteLayout), but you don't always need that. Putting the filtering textfield and the table in a Window is another "workaround".
cheers,
matti
Hi,
Wrote a standalone example to Viritin project:
https://github.com/viritin/viritin/commit/09476fdd872dfbabb8fdfbc1e749a5cfba0024d0
I hope that helps!
cheers, matti