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

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

ComboBox items with custom caption

Satish Vellanki
9 years ago May 10, 2012 5:59pm
Anca Ghitescu
9 years ago Jun 06, 2012 9:19am
Oleg Matyasov
8 years ago Aug 27, 2013 5:40pm

Hello,
if yet need solve...

public class MyContainer implements Serializable {

    private Long id;
    private Long name;

...

    public String toString() {
        return getName() + " " + getId();
    }
}

ComboBox cb = new ComboBox("Caption", myContainer);
cb.setItemCaptionMode(ItemCaptionMode.ITEM);

Luis Eduardo Barragán Belfort
7 years ago Mar 23, 2015 1:43am
Mohammad Reza Emami
7 years ago Mar 23, 2015 7:45am

Hello,
How can I develope a right to left supported web site in vaadin?
 

Carlos Jose Torres Villasana
6 years ago Dec 02, 2015 4:12pm