I am trying to get the nonWorkingTime feature to work in React. I succeeded when using the example below in a plain JS-component.
I used <BryntumSchedulerPro nonWorkingTimeFeature /> as suggested by the console output. I expected a grey shade for Saturdays and Sundays but unfortunately they are as white as the rest of the week days.
The documentation of NonWorkingTime of the SchedulerPro led me to believe that this was in fact correct:
This feature is off by default for Scheduler, but enabled by default for Scheduler Pro. For info on enabling it, see GridFeatures.
According to the documentation I didn't even have to enable it in my example.
This and the fact that the SchedulerPro documentation actually has the feature in its list of features.
That leads me to the question: Is the documentation outdated?
Actually, NonWorkingTime feature is used internally by Scheduler Pro. The difference is that for Pro it takes data from calendars, not from auto-generated weekends as for non-Pro scheduler.
Which part of the documentation mentions that one should not consider NonWorkingTime to work with SchedulerPro but instead head over to the calendars as you suggested? It takes a lot of time to try out a solution that does not seem to work that was due to misleading information in the documentation.