Gantt.load for post

Dear ~
I need gantt.load to dynamic loading the subtasks,
but, My backend need “POST” to get resource…
so…how can I get it?
Pls help~ Tks~!

There is no built-in way to change the gantt.load function to use the POST method to load the data.
I think it wouldn’t be easier to implement something like the branch loading for the gantt.parse command. That will allow you to use any other tool to load the data from the server, save it in a JSON variable, then load only the necessary data by using the parse method.
Here is an example of how it might be implemented: