Events not showing over blocked time

If an event is added programatically, which overlaps a block, the event doesn't show.

e.g. https://stackblitz.com/edit/bjmk1bau?file=index.js

A pre-loaded 10:30 appointment for nancy shows, using the button "Add event for nancy at 9" shows. However the button "Add event for Nancy at 15" won't show, but if the event 15 was pre-loaded it would show

Trying the follow functions don't work: refresh(), refreshEvents(), refreshLayout() and refreshTemplates()

Any ideas?

Thanks


1 Reply

SS Saritha Sankar Syncfusion Team June 9, 2025 07:38 AM UTC

Hi Richard Craig,


Thank you for your query.


Currently, it is not possible to add events dynamically in blocked time slots. Because when events are added programmatically, they will not be rendered if they overlap with an existing block event. This is expected behavior, as the Scheduler validates and prevents events from being created within blocked time ranges.


However, if overlapping events are included as part of the preloaded data source, the Scheduler will render them as they are. This is the default behavior.


Regards,

Saritha S.


Loader.
Up arrow icon