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.

How change Table Headers color;

Xavier Pan
1 decade ago Apr 04, 2010 2:35am
Joonas Lehtinen
1 decade ago Apr 04, 2010 6:54am
Jouni Koivuviita
1 decade ago Apr 05, 2010 7:59pm
noha radwan
1 decade ago May 05, 2010 10:39pm
Charles Anthony
1 decade ago May 06, 2010 8:33am

You would *add* a stylename to the table

table.addStyleName("green-table")

and then use that in the theme's stylesheet.

.green-table v-table-caption-container {
    color: green;
}

.blue-table v-table-caption-container {
    color: blue;
}

For styling and themes, I would strong suggest the use of Firefox + Firebug to anyalze/develop themes, and you'll need to get a good grip understand CSS selectors. Of course, you may well have all this, in which case : Carry On!

Cheers,

Charles.