3 Replies Latest reply on Jun 22, 2010 3:43 AM by Dhifi Borni

    refresh a extendedDataTable row

    Dhifi Borni Newbie

      Hi @ll:

       

      I use a extendedDataTable, there is a column of type inputNumberSpinner .

      I want every time I change the inputNumberSpinner value, it is a refresh to that line and not just a refreshment for the  whole extendedDataTable

      I use a reRender like this :

       

      <rich:extendedDataTable  id="tableDocument"  rowKeyVar="row" rows="10"   value="#{Commande_Client.lignesDoc}"  var="ligne">

      <rich:column>....</rich:column>

      <rich:column>

                  <rich:inputNumberSpinner  value="#{ligne.quantiteVendu}" minValue="1" maxValue="99999">
                    <a4j:support event="onchange" ajaxSingle="true" action="#{Commande_Client.updateMontants}"        

                      reRender="tableDocument" />
                    </rich:inputNumberSpinner>

      </rich:column>

      <rich:column>....</rich:column>

      </rich:extendedDataTable>

       

       

       

      is there a way can refresh a  single line and not all the extendedDataTable?
      thks for all.