What would be the recommended way to get the collection of tasks that has been internally updated by the gantt control.
e.g. in https://docs.dhtmlx.com/gantt/samples/02_extensions/12_auto_scheduling.html dragging Task#4.2 around enough will effect it’s direct parent Task#4 and its’ grand parent Project #1.
onAfterTaskAutoSchedule
isn’t suitable as the task has no links, so I tried adding a dataprocessor via the console, however that only fires for the moved task and not the one that have been internally updated.
gantt.createDataProcessor(function(entity, action, data, id){
// tslint:disable-next-line:no-console
console.log('dp', arguments)
switch (action) {
case 'update':
return Promise.resolve()
case 'create':
return Promise.resolve()
case 'delete':
return Promise.resolve()
}
});