Our state of the art Gantt chart


Post by isadogan »

Hi,

First, I'm new to the Gantt chart.

We're reading data from the local JSON file for the Gantt chart but it is not reading when we add a start date for the subtask. Instead, the parent task becomes the start date of the task. How can I give a manual start date for a subtask?

I shared the screenshot and the JSON file.

Thanks

Attachments
wrong start&end dates
wrong start&end dates
ss.png (113.19 KiB) Viewed 146 times
dummy-launch-saas-gantt.json
used local json file
(3.05 KiB) Downloaded 25 times
Last edited by isadogan on Tue Nov 29, 2022 3:50 pm, edited 1 time in total.

Post by marcio »

Hey isadogan,

That's the default behavior of the Gantt, to calculate automatically the dates of the subtasks to perform all the calculations correctly. But you can give a manual start for tasks by changing this configuration https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-manuallyScheduled, so in your JSON you need to add this manuallyScheduled: true to allow you to set the start of the task.

Best regards,
Márcio


Post by isadogan »

Hi marcio,

It solved my problem. Thanks for your quick response.


Post Reply