Hi
I want to track the parent and dependency change, when the children changes by dragging or resizing.
Support Forum
- Attachments
-
- demo.zip
- (101.64 KiB) Downloaded 22 times
Not sure how parent of task may be changed on resize, but in any case you can check https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#property-changes and see what was actually changed - parentIndex, any dependencies, dates, etc.
Use events like https://bryntum.com/docs/gantt/api/Gantt/feature/TaskDrag#event-beforeTaskDropFinalize
or https://bryntum.com/docs/gantt/api/Gantt/feature/TaskResize#event-beforeTaskResizeFinalize or others if these not fit your needs.
All the best,
Alex
Hi,
You just need to set https://bryntum.com/docs/gantt/api/Gantt/model/TaskModel#field-manuallyScheduled to true
Sorry, that I misunderstood.
You can track change by listening to this event https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#property-changes