0 Replies Latest reply on Oct 10, 2011 11:43 AM by Philippe Kuehn

    rich:dataTable sorting

    Philippe Kuehn Newbie

      Hi, i have a dataTable in my application, which i sort using command links in the headers and a sorting Bean (Session-scoped). I also have another view (used for printing) which uses the same table for data, and the same ordering.

       

      Except in this static view ordering doesn't work... my columns are defined as following:

       

      <rich:column colspan="3" styleClass="titleTask"

                                  sortBy="#{timeTask.title}"

                                  sortOrder="#{timeReportingSortingBean.taskOrder}">

       

      taskOrder can be set to Ascending or Descending, the table in the edit view is sorted, but not the one in the Printing View. I even tried using a commandlink on the page, to re-render the table, with no success...