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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Delete all events?

Thread ID:

Created:

Updated:

Platform:

Replies:

146484 Aug 6,2019 04:18 AM UTC Aug 7,2019 05:42 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
Chris Cunningham
Asked On August 6, 2019 04:18 AM UTC

Hi,


Is there an efficient way to delete all events in the calendar, in one call?

Thanks,
-Chris

Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 7, 2019 05:42 AM UTC

Hi Cris, 
 
Syncfusion greetings. 
 
We can delete all events at once / individual event by using deleteEvent method. Please refer the below links. 
 
public onButtonClick(): void { 
    this.scheduleObj.deleteEvent(this.scheduleObj.eventsData as { [key: string]: Object }[]); 
    this.deleteButton.element.setAttribute('disabled', 'true'); 
  } 
 
Regards, 
Karthi 
 
 


CONFIRMATION

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