Our state of the art Gantt chart
Hi, I have used the non working days feature on gantt. Just to show that specified days are non working. But user can still schedule tasks and those should be shown properly as they show on working days. Our requirement is just to highlight those days differently which are non working. In the attached screenshot you can see my tasks are showing as diamond like symbols on non working days but showing correctly on working days. I am using calendar feature and using recurring intervals to specify the non working days.
Please suggest how I can achieve the desired behavior?
This problem is not on the bryntum scheduler controls, we are showing the non working days on scheduler as well and events just show fine on non-working days as well. using this code
LocaleManager .locale.DateHelper.nonWorkingDays = days;
LocaleManager.applyLocale((LocaleManager as any).locale.localeName, true);
But the same thing is not working for bryntum gantt. That is why we have used the calendar non-working days feature.
-
Attachments
-
- events showing fine on non-working days. Desired behavior. Need same behavior on project gantt as well
- scheduler_nonworkingday.png (112.54 KiB) Viewed 451 times
-
- Events not showing properly on non working days
- gantt_issue.png (110.2 KiB) Viewed 451 times
Without non working days feature, all events are showing fine
-
Attachments
-
- gantt_without_nonworkingdays.png (116.84 KiB) Viewed 449 times
NonWorkingTime feature of my gantt object is set to true, also nonWorkingDays property set correctly for LocaleManager.locale.DateHelper but still gant scheduler not showing those columns as non-working days.
Can you check what i am doing wrong? reffering to this post viewtopic.php?f=52&t=17651 it's mentioned gantt does not use the LocalManager. Please advised
-
Attachments
-
- Screenshot 2022-11-30 165025.png (154.49 KiB) Viewed 436 times
Above workaround didn't work. But able to achieve the desired behavior using multiple calendars. Thanks for the support
Glad that worked Please if you have other questions don't hesitate in contact us.