I've been able to solve this, but i have another problem.
I have attached a testcase.
I have a button to create a new record.
I do an append, fill in the default values, post the data and put the table in edit mode.
When entering data in the line
When creating a new line and entering data in the value of the field is reset when going to another field.
You can see it in the attached screenshot, the value of the second column is reset after entering the third field and going to the next field.
Gridedit.mp4
TestGridEdit.zip