cancel
Showing results for 
Search instead for 
Did you mean: 

Inline edit Nuxeo Datatable

Robert_Smith
Champ on-the-rise
Champ on-the-rise

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.

2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello

The best option is to use Nuxeo Spreadsheet

Regards

Robert_Smith
Champ on-the-rise
Champ on-the-rise

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');

}