Premium support for our pure JavaScript UI components


Post by shaveta »

Hi,

What is the maximum duration for a task that can be scheduled from Gantt?

In the https://bryntum.com/products/gantt/examples/advanced/ example, for a task "Install Apache" if you enter the duration to be 1400 days, the End date will not be calculated, so trying to figure out the exact limit.

Thanks!!


Post by arcady »

There is a limit made to avoid infinite cycles in case of calendars misconfiguration https://www.bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-maxCalendarRange

The value is supposed to be adjusted in case of long running projects.


Post by shaveta »

arcady wrote: Thu May 11, 2023 11:32 am

There is a limit made to avoid infinite cycles in case of calendars misconfiguration https://www.bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-maxCalendarRange

The value is supposed to be adjusted in case of long running projects.

Thanks Arcady!! If the plan is more than 5 years start and end date remains the same, is it possible to prompt the message to a user when the duration of the task is more than the maximum calendar range set?


Post by alex.l »

Hi,

No, there is no event to catch that. I've opened a feature request for this here https://github.com/bryntum/support/issues/6829
Thank you for the question.

All the best,
Alex


Post Reply