3 Replies Latest reply: Mar 12, 2008 9:15 AM by Florian Marwede RSS

CSS style for column header / footer

Frank Heldt Newbie

I have a simple problem, but apparently no answer...

I have a rich:dataTable with this column:

<rich:column styleClass="right">
 <f:facet name="header">
 Header...
 </f:facet>
 <h:outputText value="#{row.val}"/>
 <f:facet name="footer">
 <h:outputText value="#{handler.total}"/>
 </f:facet>
</rich:column>


the styleClass "right" has a css with "text-align:right;", but this isn't assigned to the header or footer. Is it possible to assign a style to a column header / footer?

This changes it for every column footer, not an individual column.
.rich-table-subfootercell {
 text-align: right;
}


Any hints?