3 Replies Latest reply on Mar 10, 2011 8:22 AM by traneti

    ExtendedDataTable - sorting problem

    Blu3 Ros3 Newbie



      I got the extendedDataTable to display the data correctly. However, when I clicked on the arrow next to the column name to sort it, the spinner worked indefinitely and never got completed, e.g. it never came back with the sorted data. This is my code:





      <ui:composition ...>


           <rich:extendedDataTable id="carTable" rowKeyVar="rkv"

              value="#{carForm.carList}" var="item"
              height="200px" width="340px"

              sortMode="single" selectionMode="single">


                       <rich:column id="carMakeCol" width="140" height="10px"
                                  headerClass="dataTableHeader" label="Make" sortable="true"
                                  sortBy="#{item.make}" filterBy="#{item.make}"
                                  <f:facet name="header">
                                      <h:outputText value="Car Make" />
                                  <h:outputText value="#{item.make}"></h:outputText>









           List<Car> carList;


           public List<Car> getCarList() {
              if (carList == null){     
                  carList = carDao.getAll();

              return carList;


          //setter (standard)