Our state of the art Gantt chart


Post by vconstruct »

Hi Team,

When we pass the task as manually scheduled with scheduling mode as fixed duration as we want to retain the start and end date as provided by the backend.

But still bryntum re-calculates the end date based on the duration, which is deceiving for some of our users.

You can find the example below:

https://bryntum.com/products/gantt/examples/msprojectimport/

NonWorkingSample.js
(59.22 KiB) Downloaded 25 times

Here you can see the end date of activity c should be 9th Feb 2022 while it is calculating based upon the duration and setting it up in january.

error3.png
error3.png (124.95 KiB) Viewed 170 times

Post by vconstruct »

Update: I also tried it with setting scheduling mode to Normal & it still calculates based upon the duration.


Post by alex.l »

If you provide duration for task, it will calculate endDate according to calendar you used for that task. If you want it use 24 hours a day, you need to specify calendar with desired working intervals specially for this task.
https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-calendar
More about calendars: https://bryntum.com/products/gantt/docs/guide/Gantt/basics/calendars

All the best,
Alex


Post Reply