When I drag a task using the taskbar and return false in the onBeforeTaskChanged event, the dragged task returns to its initial position, but the parent task does not. I attempted to modify the parent task’s start_date and end_date, but it was ineffective.
How should I handle this to ensure that parent and grandparent tasks restore to their initial positions?
Hello,
The tasks with the project type ignore the date parameters (start_date, end_date, duration) as they obtain them from their children. So, technically, they are not updated.
However, it is a bug in Gantt that the parent project tasks are not repainted after you cancel the child task drag. The dev team will fix the bug in the future, but I cannot give you any ETA.