#109297
ivanpeevski
Participant

Hi,

Here is a more detailed guide how to achieve that:

 

For unique cell ids you can use the combination of row index + cell datafield. So a cell id will be like “2_lastName”

 

You can use the cellEndEdit event to keep track of cells that have been edited by storing their id in a global array.

 

Use the browser’s “submit” and “formdata” events to modify the form data before it gets to the server, like in the documentation here:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/formdata_event

 

Use the getValue method I suggested to get the current cell value and add the cell id + value to the modified FormData object.

 

Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/