2 Replies Latest reply on Dec 4, 2007 6:57 AM by Alexander Seitz

    RICH COLUMN SORTABLE PROPERTY DON'T WORK

    David Cisneros Newbie

      I was trying to sort data table rows by a specific value... then I found property 'sortable' in rich:Column component but it didn't work. Here is my code:

      <rich:dataTable border="1"
       value="#{userNormalBackingBean.userNormalDataManager.allUsers}"
       var="table" binding="#{userNormalBackingBean.table}" id="userTable"
       rows="5">
      
       <f:facet name="header">
       <h:outputText id="tableTitle" value="Normal Users" />
       </f:facet>
      
       <rich:column id="column1" sortable="true">
       <f:facet name="header">
       <h:outputText id="header1" value="NAME" />
       </f:facet>
       <h:outputText id="value1" value="#{table.name}" />
       </rich:column>
      
       <rich:column id="column2" sortable="true">
       <f:facet name="header">
       <h:outputText id="header2" value="LAST NAME" />
       </f:facet>
       <h:outputText id="value2" value="#{table.lastName}" />
       </rich:column>
      </rich:dataTable>
      



      I need to sort table by clicking the column header .... It was supposed that rich have implemented that with sortable property....

      Thanks a lot!