3 Replies Latest reply on Sep 12, 2008 2:56 PM by demetrio812

    [3.2.2] rich:dataTable + filtering + rich:datascroller

    demetrio812 Apprentice

      Hi,
      I made a simple table and added filtering to his column and a datascroller at the end of it. If I filter the table the datascoller is not updated and stays with old pagination values.

      Here is my code:

      <h:form>
       <rich:dataTable id="categorieList" var="categoria" value="#{articoloEditorCategorieList.listaCategorie}"
       rows="15">
       <rich:column align="left" sortBy="#{categoria.descrizione}" filterBy="#{categoria.descrizione}">
       <f:facet name="header">#{messages.descrizione}</f:facet>
       #{categoria.descrizione}
       </rich:column>
      
       <f:facet name="footer">
       <h:panelGroup>
       <table border="0" width="100%">
       <tr>
       <td>
       <rich:datascroller for="categorieList"></rich:datascroller>
       </td>
       <td width="100">
       ....
       </td>
       </tr>
       </table>
       </h:panelGroup>
       </f:facet>
       </rich:dataTable>
      </h:form>
      


      Demetrio