Inline edit Nuxeo Datatable

Hello All,

I'm working on a data entry form for Accounts Payables processing. We have a need to allow inline editing into a Nuxeo datatable element in order to speed up our line item data entry process. We can enable inline editing into the cells, however, the data will not save unless we reorder the rows or use the edit dialog. Is there an event we can trigger on change of a table cell to notify the app that there is row data to save? I have attached a pic and my code for review.

Thanks to anyone who can provide some insight.

1 votes

2 answers

908 views

ANSWER



I was able to get this to work by simply setting the value of one of the fields in my multivalued complex field with as an on-change action It appears to make the form register all field change events in the table.

Kind of a hack, but it is working for now.

Example:

_itemChanged(e) {

this.set('document.properties.AP_Invoice:GL_Line_Items.0.ACCT','6000');

}

0 votes



Hello

The best option is to use Nuxeo Spreadsheet

Regards

0 votes