I added logic where if I move the parent task to the last column (completed) the children should also go to completed and the parent's subtasks will be disabled until the parent task leaves that completed column. It is partially working as in the video, if I have a subtask in the subtask, it is not being reactive on the TaskBoard, but on the Gantt you can see that it is correctly disabled and the status column on the Gantt also appears as completed. I don't know if it is a bug...
processItems({ taskRecord }: any) {
if (!taskRecord.children) return;
if (taskRecord.step === lastKanbanStep) {
taskRecord.children.forEach((child: any) => {
child.readOnly = true;
child.step = lastKanbanStep;
});
} else {
taskRecord.children.forEach((child: any) => {
child.readOnly = false;
});
}
},