0 Replies Latest reply on Jul 16, 2014 4:30 AM by wingman zx

    rich:dataScroller is not working with rich:dataTable but it is working with rich:dataGrid

    wingman zx Newbie

      Hi

      rich:dataScroller is not working with rich:dataTable, but it's working with rich:dataGrid

      the page  i have attached as image,  when i click any of number to navigate pagination its not working, but the same when change the dataTable to dataGrid its working

      Please suggest..............

       

      i m using Richfaces4.3 and jsf2.2,

      Here is my code.

       

           <h:form id="myForm">

                      <rich:dataTable id="sampleData" value="#{javaBeatRichfacesBean.employees}" var="emp" rows="10" rendered="true">

                          <rich:column>

                              <h:outputText value="#{emp.empId}"/>

                          </rich:column>

                          <rich:column>

                              <h:outputText value="#{emp.empName}"/>

                          </rich:column>

                          <rich:column>

                              <h:outputText value="#{emp.dept}"/>

                          </rich:column>

                      </rich:dataTable>

                      <rich:dataScroller for="sampleData" maxPages="10">

                      </rich:dataScroller>

                  </h:form>

       

      s