Our state of the art Gantt chart


Post by sasha573 »

We have the following structure of the gantt.

Capture.PNG
Capture.PNG (78.56 KiB) Viewed 318 times

Is there a possibility to assign different calendar events to different task groups? It should be noted that we do not have assigned resourses to machines. The idea is to reflect machine idle time, maintenance breaks as non-working events on the gantt for each machine (tasks group) separately and to mark it on UI with certain background color.


Post by sasha573 »

Kindly let me know if you need anything else from my side to provide a respose.


Post by alex.l »

Hi sasha573,

There is no instance like "task group" unfortunately. Calendar may be set on resource or task, or projectModel itself.
I guess, form the logic point, machine - may be a resource and not a parent task. In that case you may set calendar to that resource (machine) and when you assign the task to that machine, the task will use the calendar of the resource it handle.
If I am wrong, just apply required calendar to all tasks you need accordingly.
Full guide about calendars may be found here https://bryntum.com/docs/gantt/guide/Gantt/basics/calendars

All the best,
Alex


Post by sasha573 »

Hi Alex!
Thanks for reply. Is there a possibility to style non-working days applying background-color for certain task?


Post by marcio »

Hey,

I'm afraid that you can't do that to a specific task, but you can change the background-color of an interval for all tasks using this https://www.bryntum.com/docs/gantt/api/SchedulerPro/model/CalendarIntervalModel#field-cls

I also created a ticket for implementing this feature - https://github.com/bryntum/support/issues/4845

Best regards,
Márcio


Post Reply