1 Reply Latest reply on Apr 3, 2008 4:05 PM by Christopher Rivera

    reorder columns in dataTable

    Christopher Rivera Newbie

      hey

      i have a problem that i have a dataTable with 5 columns and can let the user change the order of the columns... but i have no clue how to do that

      since in my table it looks like

      <rich:dataTable value="#{testBean.list}" var="ele">
      <rich:column value="#{ele.name}"/>
      <rich:column value="#{ele.street}"/>
      <rich:column value="#{ele.city}"/>
      <rich:column value="#{ele.phone}"/>
      <rich:column value="#{ele.status}"/>
      </rich:dataTable>

      how can i now change the order?

      Thank you