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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent creation and changing of an Event in Timeline View from Schedule

Thread ID:





144540 May 10,2019 12:53 PM UTC May 20,2019 04:49 AM UTC JavaScript - EJ 2 3
Tags: Schedule
Gerson C Teixeira
Asked On May 10, 2019 12:53 PM UTC


I'm new bie in syncfusion components.

I'm trying to prevent creation and changing of an event in an occupied appointment especifically, but NOT in your timeSlot. Example: If you use Room demo, I need to block an event into same time interval for a specific room. Just one Event for an interval. I don't want "+n more" below them.

Reading the documentation I saw the example using isSlotAvailable(startDate, endDate). Ok, but that example block the entire timeSlot, for all rooms.

How can I use more informations to decide if cancel or not the creation/changing an Event? I need startDate, endDate and ResourceId to decide this.

Thank you.

Sorry for my

Karthigeyan Krishnamurthi [Syncfusion]
Replied On May 13, 2019 10:39 AM UTC

Hi Gerson,    
Greetings from Syncfusion. 
In our below online sample, resource id is passed to isSlotAvailable method with in actionBegin event function as per your requirement and kindly refer the links. 

Gerson C Teixeira
Replied On May 17, 2019 07:43 PM UTC

Thank you.

Solved my problem.

Nevitha Ravi [Syncfusion]
Replied On May 20, 2019 04:49 AM UTC

Hi Gerson, 

Most welcome! We are glad that your problem has been resolved. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon