I need to change the footer style of a Table. The first column (or element) footer needs to be left aligned while others columns need to be right aligned.
I found the CSS class v-table-footer-container and I override it with:
.v-table-footer-container {
text-align: right;
}
But of course, the first footer element is also right aligned… So how can I do this?
OK I tried. It works but my column header is also right aligned. I’m not familiar with CSS rules but I think I can’t override the header style because when I use Table.setColumnAlignement it adds the “text-align: right” rule directly into the element style.
The CSS is good, but won’t work in IE6 since it doesn’t support the :first-child selector. And you could simplify the selector also for other browsers, so it’s faster to parse (the dot is the same as the class-attribute selector):