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.

stylling grid rows and checkbox in grid rows

Aleksander Temlin
6 years ago Mar 17, 2016 5:24am
Aleksander Temlin
6 years ago Mar 18, 2016 12:28pm
Aleksander Temlin
6 years ago Apr 05, 2016 3:40pm

Hi!

I just want to inform you that I solved - by myself - both problems. Nobody helped me.
Regards to row Style, I realized that I need 2 styles. There isn't such example in vaadin documentation to specify this.

v-grid-row.backgroundRed {
   background-color: red;
   color: white;   
}
.v-grid-row.backgroundRed .v-grid-cell {
   background-color: red;
   color: white;   
}

And second, I was able to implement the checkbox in a grid thanks to one video about vaadin grid.
This also should be explained and showed more simple in vaadin documentation.

Regards.
Aleksander