How to block all non-working hours and make the working hour

Hello. Help me to realize.
There is a schedule of employees. We assume that Alex works on Monday from 10:00 to 18:00 and on Wednesday from 13:00 to 15:00

It is necessary to appoint appointments only during working hours of employees. How to block all non-working hours and make the working hours be available for assigning events. Interested only in “unit and timeline”

Hi,

For example, you can mark non-working hours by addMarkedTimespan method. Please use sections property for Timeline/Unit views.
More info docs.dhtmlx.com/scheduler/limits.html