0 Replies Latest reply on Oct 23, 2008 4:00 AM by Sascha Janz

    style for rich-table-subheader

    Sascha Janz Master

      i got a data table which should be sortable.

      
       <rich:dataTable value="#{Session.ws}" var="wf" id="myworkflowstable"
       onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0" rows="20"
       columnsWidth="50%,50%" width="100%" border="0"
       columns="2">
       <rich:column sortBy="#{wf.a}" colspan="1">
       <center> <h:graphicImage value="#{wf.a}" /></center>
       <f:facet name="header" >
       <h:outputText value="A" styleClass="rich-table-header" />
       </f:facet>
       </rich:column>
       <rich:column sortBy="#{wf.f}" colspan="1">
       <h:outputText value="#{wf.f}" styleClass="#{wf.textstyle}" />
       <f:facet name="header">
       <h:outputText value="F" styleClass="rich-table-header" />
       </f:facet>
       </rich:column>
       </rich:dataTable>
      
      


      i want the table-sub-header to appear like rich-table-header. so i assigned this style to the columnheaders. but it doesn't.

      what am i doing wrong?