Our pure JavaScript Scheduler component


Post by alexc-inforit »

Hello,

I want to make periods in the scheduler read-only for certain periods.

For example, In a 2 weeks period from 8th of July to 22 of July the period from 8-10 to be disabled (by disabled I mean that creating events should not be possible), the period from 10-16 to be available and the period from 16-22 to be disabled again.

Could you give me some suggestions on how to achieve this?


Post by mats »

You can have a look at our validation demo which shows a lot about validating creating/editing of events: https://bryntum.com/examples/scheduler/validation/

You can listen for this event for example to prevent creation: https://bryntum.com/docs/scheduler/#Scheduler/feature/EventEdit#event-beforeEventAdd


Post Reply