Hi Brandon,
Greetings from Syncfusion Support.
We have validated your query “Detect if Slot is Avalilable for multiple users” at our and we let you know that it would be possible by making use of the isSlotAvailable method. We have modified the sample to detect if the slot is available.
onPopupOpen(args) {
let data = args.data;
if (
args.type === 'QuickInfo' ||
args.type === 'Editor' ||
args.type === 'RecurrenceAlert' ||
args.type === 'DeleteAlert'
) {
let target =
args.type === 'RecurrenceAlert' || args.type === 'DeleteAlert'
? args.element[0]
: args.target;
if (
!isNullOrUndefined(target) &&
target.classList.contains('e-work-cells')
) {
if (
target.classList.contains('e-read-only-cells') ||
!this.scheduleObj.isSlotAvailable(data)
) {
args.cancel = true;
alert('This slot is already booked');
}
} else if (
!isNullOrUndefined(target) &&
target.classList.contains('e-appointment') &&
this.isReadOnly(data.EndTime)
) {
args.cancel = true;
}
}
}
And for your other query, we suggest to use the same method isSlotAvailable to find the specific time periods are available or not. For more reference, please visit our UG documentation.
Kindly check the above solution and get back to us if you need any further assistance.
Regards,
Vengatesh