I'm using the Scheduler with a "New Event" dialog completely of my own. Here's kind of how it's working:
I open my custom "New Event" dialog instead of the default one whenever the user clicks on a time slot in the Scheduler.
In my dialog, I allow the user to choose from a list of pre-defined StartDate hours. Everytime the user chooses a different starting hour, I call the scheduler's isSlotAvailable() method to check if the selected starting hour is available. If it's not available, I display a warning message to the user.
However, I noticed that it is only checking the availability taking in account the events currently visible in the Scheduler. If I choose a start date that's not currently being shown in the Scheduler, isSlotAvailable will always return true. Once I move in the Scheduler to make that particular date visible, isSlotAvailable starts actually working.
SRSwathi Ravi Syncfusion Team March 28, 2023 11:03 AM UTC
According to current scheduler architecture, the isSlotAvailable
method is applicable only for check the overlapping appointments for current
view dates only. Because if we check the overlapping for all the appointments
bound to the Schedule it will leads to performance issue.