3 Replies Latest reply on Dec 8, 2009 9:05 AM by Ilya Shaikovsky

    hide header of rich:datatable with sorting

    Mario Mario Newbie

      Hi,

      What I want:
      A dataTable, sorted by a predefined column without header.

      I have a rich:datatable like the following one:

      <rich:dataTable value="#{bean.list}" var="entry">
       <rich:column selfSorted="false" sortBy="#{entry.year}" sortOrder="DESCENDING">
       <h:outputText value="#{entry.year}" />
       </rich:column>
       <rich:column>
       <h:outputText value="#{entry.description}" />
       </rich:column>
      </rich:dataTable>
      


      This worked back in richfaces 3.3.1.GA but after I upgraded to 3.3.2.SR1 (or maybe also 3.3.2.GA) I have that header in the first column with only the sort icon and a for the second column a empty header...

      How can I remove them without loosing the client side sorting?

      Thanks,
      Shifty