Vaadin 13+ Grid row styling

Hi,

I am Currently working converting Vaadin 8 app to 13. In Vaadin 8, one can style the row by applying the grid.setStyleGenerator(). Looks like the setStyleGenerator() function is no longer available ver 13. Does anyone know how to apply a style a grid row in ver 13?

Thanks.

Hi Allen,

Grid::setClassNameGenerator is what you’re looking for. Hope that helps!

Thank you