You can mark specified days as disabled using onBeforeCellRender
in the Scheduler component.
This method is used in the tutorial to disable weekends:
onBeforeCellRender: (args) => {
const day = args.cell.start.getDayOfWeek();
if (day === 6 || day === 0) {
args.cell.disabled = true;
}
},
This approach prevents the creation of new records in the disabled areas and also prohibits moving existing events to these areas.
The JavaScript Scheduler: Displaying Holidays tutorial explains how to specify custom date ranges for each resource individually.