I would like to display a list with a scrollableDataTable.
I want to have a chechbox for each row and a checkbox "selectAll".
The problem is when i click the checkbox "selectAll", the reRender of the scrollableDataTable doesn't work. I loose the header of the column
Anyone has an explanation ?
Thanks
<h:form id="dataForm"> <a4j:outputPanel id="agentPanel"> <rich:scrollableDataTable id="dataList" rowKeyVar="rkv" rows="4" columnClasses="col" value="#{testBean.dataList}" height="200px" width="600px" var="data" > <rich:column id="check" sortable="false"> <f:facet name="header"><h:outputText styleClass="headerText" value="" /></f:facet> <h:selectBooleanCheckbox value="#{data.apply}" /> </rich:column> <rich:column id="type"> <f:facet name="header"><h:outputText styleClass="headerText" value="text" /></f:facet> <h:outputText value="#{data.text}" /> </rich:column> </rich:scrollableDataTable> </a4j:outputPanel> <rich:spacer height="30" /> <!----- SELECT ALL------------> <h:selectBooleanCheckbox value="#{testBean.selectAll}"> <a4j:support event="onchange" reRender="agentPanel" /> </h:selectBooleanCheckbox> </h:form>
I'm update my table succesfully under 3.2.0 SNAPSHOTS. What about your JSF, RF versions?