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.
Set style for table row
I have seen from old forum posts that there used to be a method Table.setItemStylePropertyId(), which is not present in the Vaadin 6 API. I want to set a style on an entire table row, not the individual table cells through a CellStyleGenerator. The reason is that I want to highlight entire rows with different colours on hover (with a CSS selector like tr.v-table-row-style1:hover). Is there a reasonably simple way of doing this?
The CellStyleGenerator generates a style name for the row when the getStyle method is called with null propertyId.
Thanks Henri! And that is of course what the Javadoc says, if you read it carefully enough. Something I obviously didn't...