How to get all gantt tasks?

i can use getLinks() api to get all links in this gantt,
but i can’t find a api to get all tasks

Hi!
you can use gantt.getTaskByTime(), it’ll return all tasks when called without parameters

https://docs.dhtmlx.com/gantt/api__gantt_gettaskbytime.html