Planned Start/End date



I have this Planned Start button:

But when I click on Planned Date Button in Project#2 that happens:

How can I get the planned Start/End date in the whole Project#2 Tree? I need the dates in all children.

Here the snippet:

Can anyone help me?



Hello Mark,
You can use eachTask method and specify the parent parameter. Then it will iterate over all child tasks:
Here is the updated snippet:


Thanks, but how can I save the child dates?
If It use gantt.updateTask( It only save the first child, how can I save the whole tree?


Hello Mark,
You can use gantt.updateTask(; in the gantt.eachTask method:


Perfect, thanks again.