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

Blocked events conflicts

Hi all,


I want to reproduce this view: https://ej2.syncfusion.com/angular/demos/#/bootstrap5/schedule/resource


I've some issues about blocked events. 

Supposing Laura is unavailable on monday from 12PM to 2PM, is it possible to create a blocked event on this slot for Laura only? If I do so,  I cannot create regular events assigned to other people on the same slot ; this slot is blocked for everyone meanwhile only Laura is unavailable. Is this normal?


The tricky thing is if i deactivate Laura's view, I can create a regular event on Laura's blocked slot. When I reactivate Laura's view, I can see both of them.


I saw that view https://ej2.syncfusion.com/angular/demos/#/bootstrap5/schedule/block-events , but am I forced to use grouped schedule to use 'individual' blocked events?


Here is an illustration of my concern: https://stackblitz.com/edit/angular-beyc14?file=main.ts


Many thanks for your responses!


1 Reply 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team October 17, 2022 11:28 AM

Hi Carla,


Greetings from Syncfusion support.


We have validated your query at our end. If the resources are not grouped adding appointments on that blocked range will be prevented for all the resources and it’s the default behavior of the Schedule. If you want to block time slots for a particular resource we suggest you group the resources. We have grouped resources in your shared sample.


Sample: https://stackblitz.com/edit/ej2-angular-schedule-block-apps-sample?file=app.component.ts


Kindly let us know if you need any further assistance on this.


Regards,

Ravikumar Venkatesan


Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon