New to KendoReactStart a free 30-day trial

Conditional Editing of Scheduler Events

Updated on Dec 19, 2025

Environment

Product Version12.0.0
ProductProgress® KendoReact Scheduler

Description

How can I enable editing for specific events in the Scheduler based on underlying data conditions? For example, some events should be read-only while others remain editable.

This knowledge base article also answers the following questions:

  • How do I conditionally enable or disable event editing in Scheduler?
  • How do I make certain Scheduler events read-only based on data properties?
  • How do I use custom editItem for conditional editing behavior?

Solution

To implement conditional editing of Scheduler events, use a custom editItem component and set the editable property conditionally based on the dataItem values.

The custom editItem approach is clean and performant. Create a custom component that wraps SchedulerEditItem and conditionally sets the editable property:

tsx
const CustomEditItem = (props: SchedulerEditItemProps) => {
    return (
        <SchedulerEditItem
            {...props}
            style={{ cursor: props.dataItem.isEditable ? 'pointer' : 'not-allowed' }}
            editable={props.dataItem.isEditable ? props.editable : false}
        />
    );
};

This approach prevents edit mode from being triggered for events that should be read-only, providing better performance and user experience.

The following example demonstrates a complete implementation:

Change Theme
Theme
Loading ...

See Also

In this article
EnvironmentDescriptionSolutionSee Also
Not finding the help you need?
Contact Support