I’m using Vaadin 7.1.1 with liferay and I have the same problem.
How can I add a different class in each column header and footer.
table.setCellStyleGenerator works only for cells into the table, not for header and footer.
If anyone has tips to do this, it will be very helpfull.
There is an
enhancement request to add support for generating styles for header cells.
If column order is fixed, one workaround could be to use “nth-child” CSS selectors. They work in pretty much all modern browsers but not in IE8 and earlier.
So are probably a thousand other enhancement requests and bugs… When you factor in deciding on the API, writing automated regression tests, code review etc. this would probably take several hours to implement, and our resources (while expanding) are limited.