To extend the default
SchedulerEditSlot, set the editSlot property to either the
Scheduler or a specific view, to a modified version of the
SchedulerEditSlot exposes the following properties to allow controlling the internal edit state.
To control the state, provide the the
handler pair. For example, if you want to control the
formItem, provide your own
onFormItemChange handler, modify the
DataItem as needed, and pass it back through the
The following example demonstrates controlling the
formItem state to disallow item creation outside working hours. We will be using the
view slot from the SchedulerViewSlot article.