Hi!
I'd like to ask what the proper and expected way of updating the ID is after creating a task inline. I tried different approaches, and they all resulted in the chart not working as expected for us.
After I create a task on the chart (through addNewAtEnd) and then receive the proper id from the backend, I want to silently update the ID in Gantt so that if the user comes back to that record to change something there, like a name, an update rather than a create request is sent back to the backend.
Using taskStore.getById(phantomId).set('id', newId, true); results in having the name of the other record displayed twice in the name column (that's when you click through the tasks one after another during the create request, and the response comes back while you still click through already existing records - recording in the attachment). The same happens if I try commitAsync after updating silently, or applyChangeset.
Using simply a reference, so record.data.id = newId, or record.set('id', newId, true) does update the id; however, I'm not able to edit that record anymore. Double-clicking the name doesn't do anything for me.
Thanks!
Malwina