1 Reply Latest reply on Oct 12, 2007 5:49 AM by ilya_shaikovsky

    Any way to force <th/> for table header on <rich:dataTable>

    griffitm

      Hello all,

      I was wondering if anyone knew how to make the rich datatable render for table headers instead of . Using the standard JSF data table, the code:

      <h:dataTable>
      <h:column>
       <f:facet name="header">Description</f:facet>
       #{status.description}
      </h:column>
      </h:dataTable>

      Renders
      <th/>
      headers for the table as the proper HTML tags, which is correct. Using the same code in the <rich:dataTable> produces
      <td/>
      which is not correct. Is there anyway to force the component to render the correct html?

      Thanks in advance!
      MG