Greetings.
Trying to start a gantt up with this code.
$(".gantt").dhx_gantt().load("print_gantt_project_data.php?project_id=" + projectID);
$(".gantt").dhx_gantt({
data: tasks,
scale_unit:"year",
step:1,
date_scale:"%Y"
});
$("#gantt_div").dhx_gantt().parse(tasks);
I have verified the data from print_gantt_project_data is json and correct (related to /common/testdata.js from examples)
And no data is shown.
Any one has an example ?