开发者

reRender a specific column of rich:dataTable

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜