I’m trying to use DataProcessor with my Gantt chart with setUpdateMode(“off”) setting (I want to send all the updates once user hits ‘Save’ button).
var dp = new gantt.dataProcessor(url); dp.init(gantt); dp.setTransactionMode("JSON"); dp.setUpdateMode("off");
However I encountered one problem. When I update 3 tasks and then create 1 link, only one request (for link creation) is sent (using dp.sendData()). If I do it in reverse order - first create link and then update 3 tasks - then 3 requests (for modification of 3 tasks) are sent, but not for the link creation.
So my question is - is this a standard behaviour of the dataProcessor? is there some way how to get around this and send all updates (including tasks and links) at once?
Thank you very much