0 Replies Latest reply on Apr 14, 2008 3:01 PM by Ian Kerman

    Rerendering a repeated rich:scrollabledatatable

    Ian Kerman Newbie

      I currently have a repeater setup so that it shows multiple data tables based on a list of the objects that populate the data tables. My code is:

      <a4j:repeat var="dataTemplateSet" value="#{loginManager.dataTemplateSet}" id="repeatme">
       <div class="container">
       <rich:simpleTogglePanel switchType="client" label="#{dataTemplateSet.typeName}" width="700px" id="repeatme2">
       <rich:scrollableDataTable value="#{dataTemplateSet.wellList}" var="wells"
       rows = "0"
       width = "680px"
       height = "400px"
       sortMode = "single"
       <rich:column rendered="true" id="plateid">
       <f:facet name="header">
       <h:outputText value="Well ID"/>
       <h:outputText value="#{wells.plateid}"/>
       <rich:column id="field00" rendered="#{dataTemplateSet.field00Visible}" >
       <f:facet name="header">
       <h:outputText value="#{dataTemplateSet.field00.fieldName}"/>
       <h:outputText value="#{wells.field00}"/>

      I have a reRender set on a rich:Tree and have tried rerendering multiple combinations of all of the ids, but the data tables do not rerender. I had a simple outputText that showed the plate id that was selected (via the rich:tree) and that would reRender and change as expected. Also, if the entire page is refreshed in the browser, the selected data tables show up.

      The purpose of this is to show a mixed dataset with different column headers. Any help would be greatly appreciated. Thanks!