Our state of the art Gantt chart


Post by daniel.piret »

Hello,

I am attaching a json. There are two tasks in them - Task 1 and Task 2.
The dates of Task 1 are:
"startDate": "2019-05-10", "endDate": "2019-05-10"
The dates of Task 2 are:
"startDate": "2019-05-02", "endDate": "2023-01-19",

In Gantt, the start and end dates of Task 1 are displayed as "2019-05-02"

Attachments
bryntum_incorrectdate.json
(2.86 KiB) Downloaded 60 times

Post by daniel.piret »

Please note that I have checked this in Gantt version 4.0.8.


Post by alex.l »

Hi daniel.piret,

Alright, the Gantt scheduled tasks using the principle "as soon as possible" by default. To have your start/end dates static use "manuallyScheduled: true" https://bryntum.com/docs/gantt/#Gantt/model/TaskModel#field-manuallyScheduled

More about Gantt event scheduling here https://bryntum.com/docs/gantt/#engine/gantt_events_scheduling.md

The Gantt scheduling engine will update start and end dates of automatically scheduled events based on their constraints, links and position in the task hierarchy. This means that the startDate and endDate will be revalidated and might be recalculated as soon as the event is added or loaded to a project.

All the best,
Alex

All the best,
Alex


Post Reply