2 Replies Latest reply on Apr 2, 2008 4:46 AM by Ilya Shaikovsky

    Sortable columns in a columngroup does not work (ver 3.2.0)

    Martin Denham Newbie

      I need to use a columnGroup for the complex header layout it provides. However sortBy does not seem to work if your columns are in a columnGroup. Here is a simple example:


      <rich:dataTable value="#{searchPage.customers}" var="cust">
      <f:facet name="header">
      <rich:columnGroup>
      <rich:column sortBy="#{cust.name}">
      <h:outputText value="Name" />
      </rich:column>
      </rich:columnGroup>
      </f:facet>
      <rich:column sortBy="#{cust.name}">
      <h:outputText value="#{cust.name}"/>
      </rich:column>
      </rich:dataTable>

      Am I doing something wrong?

      Thanks

      Martin