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.

Style grid cell based on another value on same row

Robo Ninja
5 years ago Jul 08, 2016 6:20pm
Marko Grönroos
5 years ago Jul 11, 2016 9:59am

The CellReference that you get contains reference to the item. You can use that to get reference to the other column.

cell.getItem().getItemProperty("othercolumn").getValue()

Robo Ninja
5 years ago Jul 11, 2016 1:02pm