Is it possible to reRender only 1 specific column of rich:dataTable?
I tried giving the column an id and reRender="columnId" but that just crashed the page.
If so, how?
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:selectBooleanCheckbox value="#NotepadManagementGenControl.returnAllNotepads}" >
<a4j开发者_JAVA百科:support event="onclick" action="#{NotepadManagementGenControl.returnNotepadToggleAll}" reRender="myColumn"/>
</h:selectBooleanCheckbox>
<h:outputText value="#{l.return1}"></h:outputText>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column id="myColumn">
<h:selectBooleanCheckbox value="#{dataItem.returnNotepad}" />
</rich:column>
I managed to solve this with reRendering not the column but the booleanCheckBox itself (and thus reRendering al checkboxes in column).
精彩评论