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.

Mark single rows of a TreeTable with a special collapse/expand icon

Markus Häcker
9 years ago May 28, 2012 2:24pm
Jens Jansson
9 years ago May 29, 2012 5:47am
Markus Häcker
9 years ago May 30, 2012 7:09am
Jens Jansson
9 years ago May 30, 2012 7:48am
Markus Häcker
9 years ago May 30, 2012 8:19am
Melissa Villena
6 years ago Jan 13, 2016 4:02pm

where i have to put this ? 

treeTable.setCellStyleGenerator(new Table.CellStyleGenerator() {
    public String getStyle(Object itemId, Object propertyId) {
        if (hashMap.contains(itemId)) {
            return "checkmark";
        }
        return null;
    }
});

what is  hashMap?  the name of my treetable ? It does not work T_T