Change grid cell value representation

Hey guys!

So, I am representing data I fetch from the DB via a grid and I have two columns which are either “true” or “false”. I’d like to use my locale service and change “true” to let’s say “on”. Is there any way I could do this?

Thanks a lot!

If you are using Vaadin 8, this can be accomplished with a simple lambda expression, e.g. something like grid.addColumn(myBean → (myBean.isTruth() ? “on” : “off”))

Awesome! Thanks!