1 Reply Latest reply on Mar 24, 2008 3:14 PM by Pablo Pawlowski

    How to updata row data in scrollableDataTable

    Pablo Pawlowski Newbie

      Hello,
      I am using rich:scrollableDataTable with a4j:push method.

      How can I updata/rerender proper row in my table from my bean?
      I can not rerender scrollableDataTable because it takes a long time.

      For any advice I will be thankful.

      Thanks,

      Pawel

        • 1. Re: How to updata row data in scrollableDataTable
          Pablo Pawlowski Newbie

          Hello,
          I want to add example code:

          <h:form id="_testForm_">
           <a4j:push eventProducer="#{listData.addListener}" interval="2000" action="#{listData.updateTable}" reRender="#{listData.reList}"/>
          
          
           <rich:dataTable border="1" value="#{listData.items}" var="data" id="_dataTable_" ajaxKeys="#{listData.comSet}">
           <h:column id="column1">
           <f:facet name="header">
           <h:outputText value="Col 1"></h:outputText>
           </f:facet>
           <h:outputText value="#{data.count}"></h:outputText>
           </h:column>
           <h:column id="column2">
           <f:facet name="header">
           <h:outputText value="Col 2"></h:outputText>
           </f:facet>
           <h:outputText value="#{data.time}"></h:outputText>
           </h:column>
           </rich:dataTable>
          
           </h:form>