Thank you for contacting Syncfusion support.
We have prepared the sample to prevent the rendering of an appointment with in another appointment range which can be viewed from the below link.
<Code>
beforeAppointmentCreate: "OnBeforeAppointmentCreate"
function OnBeforeAppointmentCreate(args) {
if (ej.isNullOrUndefined(args.appointment[0]))
app = args.appointment;
else
app = args.appointment[0];
overlapList = this._overlapApp(app["AppTaskId"], app[this._appointmentSettings["startTime"]], app[this._appointmentSettings["endTime"]], "");
if (overlapList.length>0)
args.cancel = true;
}
</Code>
Note: Above sample is made in JS platform for your reference.
Regards,
Karthigeyan