Is it posible to define multiple header class definitions ?
I would like to have a dataTable with different styles for differing headers, but <h:dataTable> and <t:dataTable> only allow 'headerClass' instead of 'headerClasses'.
Hope that someone can help with this issue.
John
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
posted
0
There would be only one header in a dataTable so headerClasses doesn't make any sense.
John Bartlett
Ranch Hand
Joined: Jan 25, 2006
Posts: 116
posted
0
The use of Facets gives the illusion of individual headers for each column, but as far as i can see you cannot apply individual styles.
Even by not setting a HeaderClass and then applying styles to the OutputText components within the Facet the style does not seem to be used..?
Is there a way to add a style to a facet?
John
java avaj
Greenhorn
Joined: Nov 06, 2009
Posts: 2
posted
0
Try providing different style class to your h:column for which you want a different style than the headerClass mentioned in the H:dataTable.
java avaj wrote: Try providing different style class to your h:column for which you want a different style than the headerClass mentioned in the H:dataTable.