Dynamic loading of Gantt chart

Hello, I’d like to know how to solve the problem of dynamic loading of Gantt chart. Thank you very much

Hello,
Please clarify what kind of problem you have. Also, you can reproduce the issue in the snippet, then click on the “Share” button and send me the link:
https://snippet.dhtmlx.com/38ee1b370
http://docs.dhtmlx.com/gantt/snippet/d593ec28
Or send me an HTML file with all the necessary Javascript and CSS files.

Hello,I want to implement the function of dynamic loading.But I don’t know what to do.

Hello,I want to implement the function of dynamic loading.But I don’t know what to do.

Hello,
Thank you for the clarification.
There is a built-in function that allows loading tasks only for one tree level if you use the gantt.load method to load tasks and links. To use it, you need to enable the gantt.config.branch_loading property. You can read more about it in the following articles:
https://docs.dhtmlx.com/gantt/desktop__dynamic_loading.html
https://docs.dhtmlx.com/gantt/api__gantt_branch_loading_config.html
The following snippets demonstrate how it works:
http://docs.dhtmlx.com/gantt/snippet/e12394a5
https://docs.dhtmlx.com/gantt/snippet/2877d892
If you have something similar for the gantt.parse function, you need to implement a custom solution by using Gantt API and Javascript. The following example can help you to start:
https://snippet.dhtmlx.com/5/253d73f85