Gantt.parse() not working


#1

dataStructure.txt (2.9 KB)

When I try to use gantt.parse(), the gantt chart is not rendered on the page. I verified my data structure and it looks good.


#2

Hello Alexandre,
First, you need to put that task data inside the data parameter. In the following article, you can read more about what kind of data structure Gantt expects:
https://docs.dhtmlx.com/gantt/desktop__loading.html

Also, you need to define the date format:
https://docs.dhtmlx.com/gantt/api__gantt_date_format_config.html

With that, your data should be loaded correctly:
http://snippet.dhtmlx.com/5/c1d60cf59