In vaadin 7 there is Grid.setCellStyleGenerator() for cell’s style but in vaadin 8 all there is Grid.setStyleGenerator() which is for rows but I need to change the style for cells.
I got it to work using mytheme.scss
.v-grid-cell {
height: 100px;
}
or
.your_grid_style td {
height: 100px !important; /* define row height */
}
both of these work but on a global scale, not what I want. I want to do this programmatically.
How do I do this?
Thanks