Planned Start/End date

Hi,

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: DHTMLX Snippets

Can anyone help me?

Thanks.

Hello Mark,
You can use eachTask method and specify the parent parameter. Then it will iterate over all child tasks:
https://docs.dhtmlx.com/gantt/api__gantt_eachtask.html
Here is the updated snippet:
http://snippet.dhtmlx.com/217425cff

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

Hello Mark,
You can use gantt.updateTask(task.id); in the gantt.eachTask method:
http://snippet.dhtmlx.com/cc93a5f9f

Perfect, thanks again.