Our state of the art Gantt chart
Hi!
I've noticed that loaded Non-working calendar events are displayed on "minuteAndHour", "hourAndDay", however not displayed on "weekAndMonth".
In addition, If the duration of non-working interval is less then 1 hour, it is displayed only on "minuteAndHour" view preset.
Could we fix it and display all non-working caledar intervals on "weekAndMonth" preset?
Another issue is we would need to get non-working calendar interval data on click event. Is it possible to catch OnClick on non-working calendar intervals?
Hey sasha573,
That happens because of the zoom level of the Gantt, when the zoom is too high for the non-working intervals, it doesn't show because would be like only a line (or less than that). So that's why you don't see those intervals depending on the viewPreset.
Regarding the click, we don't support currently the non-working interval data click, the closest thing that we have is this config for resource time ranges (that could be adapted for your case) https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceTimeRanges#config-enableMouseEvents
Hi again!
Just for better understanding, how is it determined when the view preset is not able to display non-working calendar event?
As far as I understand if interval is less than calendar cell, the event is not displayed. E.g. for "dayAndMonth" view preset if interval is less the 1 day, it is not highligted on the gantt. Is it correct?
- Capture8.PNG (3.82 KiB) Viewed 300 times
And one more clarification, is there any functionality to edit non-working events from gantt or maybe you are planning to implement it in the future releases?