Using the code below I can successfully update a gantt task (I'm using a custom edit screen + custom update function). It fires off my transport update handler and axios does the update just fine.
var task = ganttdataSource1.at(0);
ganttdatasource1.update(task, { title: "New Title" });
ganttdatasource1.sync()
What I can't figure out is how to update the resource assignments, doing as below seems to ignore the 'resources' property so when in the transport update handler 'resources' just has the ones that were originally set,
var task = ganttdataSource1.at(0);
ganttdatasource1.update(task, {
title: "New Title",
resources: {
taskId: 111,
resourceId: 222,
value: 5,
}
});
ganttdatasource1.sync()