rich:dataTable not able to select rows of different pages
saurabh0011 Jan 27, 2011 2:16 AMhi,
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.
code:
<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}" />
</f:facet>
<rich:column width="50px" label="Check">
<f:facet name="header">
<h:outputText value="Chk" />
</f:facet>
<h:selectBooleanCheckbox id="t1" value="#{item.chk}" />
</rich:column>
<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}"/>
</f:facet>
<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" />
</f:facet>
</rich:dataTable>
please help, how can i able to select different page rows before submit my form.
Thanks