dataTable, headerClass and columnClasses
843842Mar 15 2005 — edited Aug 12 2008In the jsf dataTable tag, you can specify a comma separated list of CSS classes for the columns. So, columnClasses="colLeft width150, colRight width75", would result in column1 having a class="colLeft width150" and column2 having a class="colRight width75".
colLeft, colRight, width150 and width75 are CSS classes defined in my main.css stylesheet.
However, I can't find a way to do the same thing for the column headers. The headerClass attribute only allows you to specify a list of CSS classes for EVERY column header, not for each column header individually. So, if I wanted my column1 header to have a particular CSS class or classes (say colLeft) and my column2 header to have another CSS class (say colRight), I can't do it.
Does anyone know a way to do this?
thanks, jeff.