title: dataTable duplicate record's on liveScroll
body: <p>I have a dataTable and after updating a record with dialog and executing the position script the records are duplicated.</p>
  
  <pre><code>&lt;p:dataTable id="tbl" 
          value="#{fincaBean.listFinca}" var="f" 
          emptyMessage="sin registros" 
          selection="#{fincaBean.slcFinca}" 
          selectionMode="single" 
          rowKey="#{f.finid}"
          filteredValue="#{fincaBean.filtroFinca}"
          scrollRows="20"
          liveScroll="true"
           scrollable="true" 
          scrollHeight="350"&gt;
  .....
  &lt;p:commandButton onstart="saveScrollPos()"  oncomplete="PF('finDialog').show()" actionListener="#{fincaBean.actualizarFinca(f) }" update=":updateFinca" process="@this"  icon="ui-icon-search" title="Detalle"&gt;
  ....
  ....
  &lt;/dataTable&gt;
  //*************************************************************//
  &lt;p:dialog id="detalleFin" style="max-width:800px;max-height:380px" 
          height="80vh" width="98%"  position="center" header="Detalle Finca" 
          widgetVar="finDialog" modal="true" showEffect="fade" 
          hideEffect="fade" resizable="false"&gt;
  ....
  ....
  &lt;p:commandButton value="Save" actionListener="#fincaBean.guardarFinca(fincaBean.finca)}" oncomplete="getScrollPos()"  update="@form :formFinca:tbl" process="@all"&gt;
  &lt;/p:dialog&gt;
  &lt;script type="text/javascript"&gt;
          $ = jQuery;
              var scrollPos;
  
              function saveScrollPos() {
                          scrollPos = $(".ui-datatable-scrollable-body").scrollTop();
              }
              function getScrollPos() {
                      $(".ui-datatable-scrollable-body").scrollTop(scrollPos);
              }
      &lt;/script&gt; 
  </code></pre>
  
  <p>image-->  <a href="https://i.stack.imgur.com/0fKv6.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/0fKv6.jpg</a></p>