How to disallow overlapping appointments.

Hello,
Could you please advice on following:
1st question: I give list of regions to calendar, where most of them enablePointerInteraction set to false. This works fine when it captures full cell, however if the cell is partually captured by region, user can still book appointment in not proper time. 

2nd question: I have region with enablePointer interaction false starts lets say at 1 and finishes at 5 every day forever, now on some dates (dates and times will be provided)  inside of this region i want to have exeption hours, lets say from 3 to 5 and allow customer to book meeting this time(only for provided dates which are random i.e not consistent), however, even if i try to make another region with pointerInteraction true, overlapping with first region, calendar still disallows me to book. any advice of how this could be achieved?

3rd question: What is the best way of avoiding overlapping appointments (with another appointments, or regions). 
In my case before calendar is called i can provide duration of required meeting to book, and i want to achieve kind of dinamic calendar UI which will disallow interaction with regions/appointments from list (which is given to calendar) and also with the time in between regions/appointments which is less than initial duration of meeting to book. any good ideas or help is appreciated.


10 Replies 1 reply marked as answer

IR Indumathi Ravichandran Syncfusion Team February 26, 2021 02:22 AM UTC

Hi Samir, 
 
Thank you for contacting Syncfusion support. 
 
Regarding Query 1 &2: 
As per the Flutter calendar implementation, start time or end time of the appointment is fall between the time regions range and enablePointerInteraction value as false, you can’t add the appointments at the time slots. 
 
Regarding Q3: avoiding overlapping appointments (with another appointments, or regions).  
 
We have a KB document for preventing the multiple events adding in same time. Please find the KB from the following link. 
 
 
Also, we have prepared the simple sample for avoiding overlapping special time regions. Please find the sample from the following link. 
 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 


Marked as answer

SG Samir Gozalov February 26, 2021 04:52 PM UTC

Indumathi
Thanks for promt answer.
I figured solution for my case for case 1 and for case 3, sadly not for case 2, but hope will in future.


IR Indumathi Ravichandran Syncfusion Team March 1, 2021 01:23 PM UTC

Hi Samir, 
 
Thank you for the update. 
 
Query 2:  
 
Regarding: Inside of this region i want to have exeption hours 
 
By using recurrenceRule property of the TimeRegion you can add the exception hour in the special time region. We have a UG document for the same. Please find the UG from the following link. 
 
 
 
Regarding: however, even if i try to make another region with pointerInteraction true, overlapping with first region, calendar still disallows me to book. 
 
As per the calendar implementation, if you are adding another special region with enablePointer Interaction value as true in the already added time region with enablePointerInteraction value false. In this scenario new region mouse interaction is in old region. So, that region interaction also false and you can’t add events at the region. 
 
We hope that this helps you. If possible, can you please share your requirement clearly? It would be helpful for us to analyze and provide you a solution at the earliest. 
 
Regards, 
Indumathi R 



SG Samir Gozalov March 2, 2021 01:54 PM UTC

Indumathi
Thanks again for your answer. I have some ideas how to make my requirment possible, but  it results in some decent coding. Just wanted to know if i missed something and simpler way exists. as I can see currently it's not. My aim now is pretty much described now. I want to use reoccuring timeRegion of nonBooking time sometimes (some random hours in random days) can be used for booking appointment. I believe i have to go with exeption dates, and then rebuild one region into several, as per my needs.


IR Indumathi Ravichandran Syncfusion Team March 3, 2021 10:06 AM UTC

Hi Samir, 
 
Thank you for the update. 
 
We have checked your last update and let you know that your doubt is clear here. By using the recurrenceExceptionDates property TimeRegion, you can book the appointment in the exception time region dates. We have prepared the simple sample for the same. Please find the sample and video from the following link. 
 
 
Also, we have a UG document for the same. Please find the UG from the following link. 
 
UG link: 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 



WI WilliamCBegley February 8, 2022 12:13 PM UTC

Thanks for the answer. I also want to know how to disallow overlapping appointments. I was searching for it online



IR Indumathi Ravichandran Syncfusion Team February 9, 2022 06:25 AM UTC

Hi William, 
 
Regarding Query:  I also want to know how to disallow overlapping appointments.  
  
We have a KB documentation for the restricting the several appointments at the same time. Please find the KB documentation from the following link. 
 
KB link: 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 



WI WilliamCBegley February 16, 2022 05:05 PM UTC

Ok, thanks for the link.



IR Indumathi Ravichandran Syncfusion Team February 17, 2022 05:10 AM UTC

Hi William, 
 
Thank you for the update. Please get in touch with us if would you require any further assistance. 
 
Regards, 
Indumathi R 



WI WilliamCBegley March 24, 2022 07:42 PM UTC

I want to know how to disallow overlapping appointments and for that I am searching for it online. I am glad I have found my answer over here. I have also found the https://writinguniverse.com/free-essay-examples/to-his-coy-mistress/ website link on google search in which I can read essay samples for free. You can also visit over there if you want to read free essay samples.


Loader.
Up arrow icon