How to get all gantt tasks?


#1

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


#2

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

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