0 Replies Latest reply on Nov 30, 2007 4:02 PM by Maik Hassel

    ScrollableDataTable neither scrolling nor sorting

    Maik Hassel Newbie

      Hello everyone,

      I am trying to use the "ScrollableDataTable" romponent. It renders fine, but it neither scrolls nor sorts my columns. if I set the numRows to "0", I can see all my rows, if I limit the height, I only see the first X rows and a scrollbar (of reasonable dimensions), but if I move the bar nothing happens.

      Same for the header: My cursor changes, but nothing happens when I click (no js errors are reported).

      Could this be a matter of backing-bean return type?

      My Backing bean has a member

      public List<RepRequest> getRepairRequests() {
      }
      


      ... which is called only once (on page load)... Do I have to create a special data model, etc???


      My component is as follows:

      <rich:scrollableDataTable
       rowKeyVar="rkv"
       width="939px"
       height="200px"
       value="#{coreDataBean.repairRequests}"
       var="req"
       sortMode="single" >
      
      
       <rich:column id="status">
       <f:facet name="header"><h:outputText value="Status" /></f:facet>
       <h:outputText value="#{req.status}" />
       </rich:column>
      
       // more columns
      </rich:scrollableDataTable>