Dynamic loading, the parent task cannot change with the time of the child task
Hello,
If a task has the project
type, its dates will depend on its child tasks:
https://docs.dhtmlx.com/gantt/desktop__task_types.html#projecttasks
If some child tasks are not loaded, the parent task won’t increase in size until you load the necessary child tasks. That is expected behavior.
If you want to change how it works, you need to use a different task type or implement a custom solution by using the Gantt API and Javascript.
If you have a task with the task
type, its dates are specified in the start_date
and end_date
parameters:
https://docs.dhtmlx.com/gantt/desktop__task_types.html#regulartasks
So, if that doesn’t work, there should be something wrong with the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
In that case, please, add your configuration in the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/38ee1b370
Then, click on the Share
button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.