Our state of the art Gantt chart


Post by radhakrishnan.y »

Hi
I want to track the parent and dependency change, when the children changes by dragging or resizing.

Attachments
demo.zip
(101.64 KiB) Downloaded 21 times

Post by alex.l »

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


Post by radhakrishnan.y »

I have attached a screen shot.
In that, If I try to increase the 'Install Apache' end date to Jan-19 then my parent 'Setup web server' end date will automatically change right.
How do I track that 'Setup web server' is changed or not

Attachments
demo.png
demo.png (72.57 KiB) Viewed 338 times

Post by tasnim »


Post by radhakrishnan.y »

Hi Tasnim,
Setting manuallyScheduled to true, will not solve my problem.
I want to update in 'Setup web server' end date in my DB. If I change the children end date


Post by tasnim »

Sorry, that I misunderstood.
You can track change by listening to this event https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#property-changes


Post Reply