1 Reply Latest reply on Jun 10, 2011 2:26 AM by paddy3k

    ReRender Problem in ExtendedDataTable (Bug ?)

    paddy3k

      Hi there,

       

      I have an empty extendedDataTable with dynamic columns (but I think it doesnt matter if dynamic or not).

      If the user clicks on a commandLink the table is filled. It renders correctly, but the functionality of column

      resizing is gone and the first column is also no more frozen... I'm using Richfaces 4.0

       

      here is the problem code :

       

       

      {code}

      <h:form id="outlierForm">

         <rich:extendedDataTable id="dspValueTable" value="#{configBean.datatrackValues}" var="items"

            style="height:300px; width:730px;" selectionMode="none" frozenColumns="1">

            <f:facet name="header">

               <h:outputText value="#{msgs['SELECTED_TRACKS']}" />

            </f:facet>

            <rich:column id="timestamp">

               <f:facet name="header">

                  <h:outputText value="time" />

               </f:facet>

               <h:outputText value="#{items.timestamp}" />

            </rich:column>

            <c:forEach items="#{configBean.selectedDatatracks}" var="columnItem" varStatus="status">

               <rich:column id="#{columnItem.code}">

                  <f:facet name="header">

                     <h:outputText value="#{columnItem.code}" />

                  </f:facet>

                  <h:outputText value="#{items.values[status.count-1]}" />

               </rich:column>

            </c:forEach>

         </rich:extendedDataTable>

       

         <br />

       

         <a4j:commandButton id="btnProcessOutlier" action="#{preprocessTableController.importValues}" value="load values"

            onclick="this.disabled=true" oncomplete="this.disabled=false" render="dspValueTable btnProcessOutlier"/>

      </h:form>

      {code}

       

      if I reload the whole page, everythings fine... am I doing it wrong or is it a bug ?!

       

      thanks in advance

      paddy