We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Blocks and Agenda



I wanted to find out if there is any way to show the blockout data in the agenda view of the schedule. I having it showing fine in all the other views but for some reason the blockouts don't seem to show up in the agenda view.

Thanks

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team August 10, 2016 12:06 PM UTC

Hi David, 
 
Thank you for contacting Syncfusion support. 
 
By default, Scheduler will not display the blocked out data in Agenda view as the view is specifically created to list out only the appointments on day basis. The block out data are usually not treated as an appointment, and they are meant to simply block the certain timeslot interval in the Scheduler, so that no appointments can be created on that time intervals. Kindly visit the below link to know more about the Agenda view. 
 
Regards, 
Karthigeyan  
 



DB David Barrett August 10, 2016 01:51 PM UTC



Yea I kinda got the feeling that you intended to use them for blocking out dates from getting appointments. But, for your future reference in upgrading this thought. We are using the block out feature to block dates for other full day events like training, vacations, in office blocks, etc which we would love to show on the agenda in the future so we know those things as well, as the agenda is much easier to print and view on paper than a full calendar with 60 people on it.

Thanks for the information and you should think about having an option to show these on the agenda and other places




KK Karthigeyan Krishnamurthi Syncfusion Team August 11, 2016 01:01 PM UTC

Hi David, 
 
Thanks for sharing your scenario with us. 
 
As we said earlier, Scheduler will only display the active appointments data in the Agenda view now and not the blocked data, since it is the default behavior. To achieve your scenario, you can make use of the workaround scenario by creating your required blocked data as normal appointments and add it to appointment dataSource itself and then make it as readOnly to avoid performing CRUD operations on it. Refer the below playground link to know about making the appointments readonly. In such circumstances, you can make this readOnly appointments width alone to 100% in CSS, so that it covers/hides the entire timeslots that lies behind it. 
 
Also, to avoid the creation of any other new appointments to the timeslots which were already occupied by another appointment data, you can refer the below link. 
 
Regards, 
Karthigeyan 


Loader.
Up arrow icon