How i will split Spanned events if any holidays are there in between of start & end date.

Hi,

In Below Image, you can see that I have displayed the casting events from the date 11 to 18 but between the 11 to 18 date there are some holidays[13,16,17] so that I don't want to display casting events for the holiday's date.

In the below image, Sat & Sun are holidays and the 13th date is also a holiday.
I have added the New Year event as IsAllDay=true & isBlocked=true but still casting events are shown on the 13th date.

Can you tell me the solution for not display events if there are hollidays?
I don't want to modify Datasource JSON Array.

 

Thanks,
Mikinj


1 Reply

VD Vinitha Devi Murugan Syncfusion Team September 30, 2021 09:14 AM UTC

Hi Mikinj, 
 
Greetings from Syncfusion Support. 
 
We have validated your requirement “not display events if there are hollidays” at our end and achieved it by making use of dataBinding and eventRendered events of our Scheduler. In the following sample, we have split the spanned event if any holiday are there in between start and end time. 
 
 
Output: 
 
 
Kindly try with the above sample and get back to us if you need any further assistance 
 
Regards, 
Vinitha 


Loader.
Up arrow icon