I have a rich: dataTable with 5 lines and the line edit and save one of them this record will last for the position of the grid. How could so that the record does notmove to the last position of the grid.
this is my rich:dataTable
<rich:dataTable value="#{detailEnsaioDataSource}" id="detailEnsaioGrid" rows="5" var="rowEnsaio" >
<ui:insert name="detailEnsaioColumns"/>
<rich:column label="Editar">
<f:facet name="header">Editar</f:facet>
<a4j:commandLink action="#{actionBean.selecionarDetail2(rowEnsaio)}" reRender="camposEnsaio" >
<h:graphicImage value="/img/edit.png" alt="Alterar" width="20" height="20" />
</a4j:commandLink>
</rich:column>
<rich:column label="Excluir">
<f:facet name="header">Excluir</f:facet>
<a4j:commandLink action="#{actionBean.removeDetail2(rowEnsaio)}" reRender="gridEnsaio" >
<h:graphicImage value="/img/delete.png" alt="Borrar" width="20" height="20" />
</a4j:commandLink>
</rich:column>
</rich:dataTable>
<rich:datascroller for="detailEnsaioGrid" id="dtScroler" />