Scheduler / Restrictions
This demo shows how you can restrict the events and better control your resources in the Telerik Kendo UI Scheduler using its API. You can prevent not only the drag and resize capabilities of the appointments, but also allow or not the creation of a new event or the modification of an existing one by criteria defined by you.
For example, double click on the "Call Charlie about the project" event, change the attendee to Bob and click SAVE. This will result in an error: "This person is not available in this time period."
You will also get an error "This person is not available in this time period.", if you change the start date of the "HR Lecture" event to 10:30 AM.
The logic which enforces the restrictions in this example resides in the resize, move, add and save event handlers of the scheduler. Review their definitions for further info.
- Sample service
- Widget configuration