2 Replies Latest reply on Jan 27, 2011 8:53 PM by Balder Carrate

    rich:dataTable not able to select rows of different pages

    Saurabh Tyagi Newbie



      I have  rich:dataTable with rich:datascroller. i am not able to select rows of different pages before submit the form. meaning is if i select a row of page one and scroll to another page then selected row make uncheck.





      <rich:dataTable  id="dt1" value="#{tableBean.lst}" var="item" rendered="#{tableBean.randerUserContacts}" border="0" >

                                                      <f:facet name="header">

                                                              <h:outputText value="#{tableBean.usrName}#{msg.totalContacts} #{tableBean.totalContacts}" />


                                                      <rich:column  width="50px" label="Check">

                                                              <f:facet name="header">

                                                                  <h:outputText value="Chk" />


                                                             <h:selectBooleanCheckbox id="t1" value="#{item.chk}" />


                                                      <rich:column sortable="true" sortBy="#{item.usrName}" filterBy="#{item.usrName}" filterEvent="onkeyup"

                                                                  width="300px" label="#{msg.contName}">

                                                              <f:facet name="header">

                                                                  <h:outputText value="#{msg.contName}"/>


                                                              <h:outputText value="#{item.usrName}"></h:outputText>

                                                              <f:facet name="footer" ><h:outputText value="#{msg.contName}" /></f:facet>

                                                      </rich:column >     

                                                      <f:facet name="footer"  >

                                                               <rich:datascroller  id="ds" reRender="txt" />                                           






      please help, how can i able to select different page rows before submit my form.