2 Replies Latest reply on Jul 14, 2011 3:35 AM by Biju Devassy

    Comparator not working with scrollableDataTable

    David Runyon Newbie

       

      I have been unable to get comparator to work in my scrollableDataTable. I have the column defined below and it never uses the comparator.

       

      In fact, it seems the expression is never even evaluated, because getNameComparator is never called in my bean. Any ideas???

      <rich:column width="100"

      styleClass="rightAlignColumn"

      sortable="true"

      sortExpression="#{stream.name}"

      comparator="#{channelPlanView.nameComparator}">

      <f:facet name="header"><h:outputText value="Name"/></f:facet>

      <h:outputText id="sname" value="#{stream.name}"/>

      </rich:column>

      {code}

       

       


      {code:xml}