0 Replies Latest reply on Jan 11, 2011 1:43 PM by Shyam Kulkarni

    Richfaces 4 Milestone 4 - extendedDataTable - column sorting

    Shyam Kulkarni Newbie

      Has anyone tried extendedDataTable with column sorting in "Richfaces 4 Milestone 4"?

       

      I have tried the following which does not seem to work.

       

          <rich:extendedDataTable id="edt" value="#{dataTableBean.dtList}" var="edt" selectionMode="none" style="height:300px; width:500px;" >

       

              <rich:column sortable="false">

                  <f:facet name="header">

                      <h:outputText value="Id" />

                  </f:facet>

                  <h:outputText value="#{edt.id}" />

              </rich:column>

       

              <rich:column sortable="true" sortBy="#{edt.name}">

                  <f:facet name="header">

                      <h:outputText value="Name" />

                  </f:facet>

                  <h:outputText value="#{edt.name}" />

              </rich:column>

       

          </rich:extendedDataTable>

       

       

      The showcase examples which came with this release do not have anything which uses column sorting.