I have a DataStore, to which I’ve bound a grid and a form to the row of the grid.
When I edit the row and add it, it is using the DataProcessor to send the data and receiving a new ID.
The error I’m getting when I try to change something on the form and save it again is,
target is undefined
target._dhx_proto_wait && (target = target._dhx_proto_wait); datastore.js (line 18)
After sending the first time (an insert operation), I set a flag so that it doesn’t try to insert again, rather it updates. So I think it is trying to update when the id hasn’t been properly assigned after the first insert.)
Does someone know how to ensure that the ID is properly saved in the form?