3 Replies Latest reply on Jul 12, 2007 10:30 AM by Yevgen Tester

    datatable - update columns?

    Yevgen Tester Newbie


      <h:form id="first">
       <rich:dataTable id="table" var="item">
       <f:facet name="header">
       <rich:columnGroup id="headerGroup" binding="#{testBean.group1}"/>
       <a4j:commandButton value="test" reRender="headerGroup"/>

      this is my code. I want to update (rebuild) the datatable's header.
      For example the amount of columns was changed, and i need to rebuild the whole table.

      How can i do this.
      This example doesn't works :(