Customizing Schedule

Hello! I plan on using the Schedule control in my new MVC5 Web App. There are multiple Schedulers available but I prefer to use the one from Syncfusion as I have been using your other controls and they have been great. The customization I am looking to have is this:

  • Make the calendar completely read only (So users can only see the schedule and not add/delete/edit it)
  • Make the calendar read only but for specific appointments only (For example, an appointment created by User A is visible to User B, but User B can not edit/delete the appointment made the User A So in short, each user can only edit/delete the appointment they made)
  • Don't let users create an appointment if another one is already created on the same date/time (For example, an appointment was made for 10-11 PM on Monday, now no user should be able to create a new appointment for the same date/time)

Wanted to know if all this customization is possible with the Schedule control. Please let me know. Thank you!

5 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team October 1, 2018 12:56 PM UTC

Hi Aman, 
 
Please find the below responses for your queries. 
 
  1. Readonly API allows to makes the Schedule to render in a read only mode, kindly refer the below links.
 
  1. It is possible to make specific appointments as read-only, kindly refer the below link.
 
  1. It is possible to prevent the rendering of more than one appointment within the same range using isSlotAvailable method, kindly refer the below link.
 
Regards, 
Karthigeyan 
 



AM Amman October 1, 2018 01:11 PM UTC

Thank you so much! This is why I love using SyncFusion!


KK Karthigeyan Krishnamurthi Syncfusion Team October 2, 2018 04:27 AM UTC

Hi Aman, 
 
We are happy that your requirement is fulfilled with our solution. 
 
Please let us know if you need further assistance. 
 
Regards, 
Karthigeyan 



AM Amman October 2, 2018 03:54 PM UTC

Hi, just found out that read only is not working. As you can see here:

https://ej2services.syncfusion.com/production/aspmvc/demos/Schedule/ReadonlyEvents#/material


The items can be edited. Please look into this. Thanks





VD Vinitha Devi Murugan Syncfusion Team October 3, 2018 12:17 PM UTC

Hi Aman, 

Thanks for your update. 

In MVC sample, args.type is checked as 'editor’ instead of ‘Editor’ in onPopupOpen function which is the cause for the issue. Please refer the below JS sample for your reference. 

Regards, 
M. Vinitha devi 
 


Loader.
Up arrow icon