I want to edit a multiline text in cells, so I have this code:
<p:dataTable ... editable="true" editMode="cell">
<p:column ...>
<p:cellEditor>
<f:facet name="output"><h:outputText value="#{myBean.value}"/></f:facet>
<f:facet name="input"><p:inputTextarea value="#{myBean.value}"/></f:facet>
</p:cellEditor>
</p:column>
</p:dataTable>
But I've faced the problem that I cannot insert new line because changes are sent to backend on enter press. Is it possible to send changes on ctrl+enter or add a small "ok" button?