Task will be update after multiple refresh the page

I have implemented the gantt chart like one parent have multiple Childs(task) and each child have nested child in Gantt.

If I extend the end date of parent , In backend updated the child task’s start and end dates . Some of the task are not updating correctly in front end .After multiple refresh only, in frontend tasks are showing correctly

To resolve above error, prior to parse the task added below code . Even though, I am getting the same issue.


Kindly help me to resolve the issue.

Aravind L


If you have a parent task with a project type, so it means your parent task should start, when its earliest child task starts, and should end, when its latest child ends. Project task cannot be dragged and resized, unless drag and drop is explicitly enabled via the drag_project config.
If you have a parent task with a task type, so it means that your parent task doesn’t depend on child tasks, i.e. if the user dragges a child of a regular task, the parent task doesn’t change its duration or progress respectively.
Please check the article:
https://docs.dhtmlx.com/gantt/desktop__task_types.html ;
Do you calculate a parent task duration or start and end dates in a custom solution?
Probably, it should be related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, add your configuration in the snippet below and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/40tsh9uz?text=gantt ;
Then, click on the Save 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.