Facturas

Con detalles

Usar <p:remotecommand>

<p:remoteCommand name="onCellEditTable" 
                      process="@this"
                      action="#{facturaController.refresh()}"
                      update=":form:msg,  panelTotales" />

En el datatable usar onCellEdit

En las columnas para artículos usamos <p:autocomplete> con <p:cellEditor>

En la columna para la cantidad, en el inputText. agregamos el update y el onblur

Last updated

Was this helpful?