1 Reply Latest reply on Sep 29, 2009 6:00 AM by ilya_shaikovsky

    Problem datascroller and paginig

    konstt2000

      Hi,

      I've a page with:

      <rich:dataTable id="listaUP" rows="8" value="#{detalleModifSCE.listaUPs}" var="up" reRender="ds"
       styleClass="estiloTabla" headerClass="cabeceraTabla" rowClasses="filaTablaImpar,filaTablaPar">
       <h:commandLink action="#{detalleModifSCE.setSelectedUP(up)}" value="#{up.id.cduniofe}" />
       </rich:column>
       <f:facet name="footer">
       <rich:datascroller id="ds" for="listaUP" renderIfSinglePage="false"></rich:datascroller>
       </f:facet>
       </rich:dataTable>
      


      "detalleModifSCE.listaUPs" have 2000 elements.
      When I entered the page takes a long time. I believe that even with the page only shows 8 elements are painting all the elements. Can I somehow set that only paint what is paging?

      Thankss!!!

        • 1. Re: Problem datascroller and paginig
          ilya_shaikovsky

          So called lazy paggination or true paggination was discussed many times at this forum. And two samples already exist at richfaces-demo dataTable page. Please check them and checkout the project from SVN (link in my signature) to check proper models implementation for that.