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

differentiate between single event and event series editing

Thread ID:

Created:

Updated:

Platform:

Replies:

149530 Nov 29,2019 01:19 AM UTC Oct 14,2020 09:45 PM UTC Angular - EJ 2 1
loading
Tags: Schedule
jose lara
Asked On November 29, 2019 01:19 AM UTC

Hi, when a user double click on a recurring event, a dialog opens asking if that occurrence is to be edited or the entire series is to be edited. How can I determine what option the user chose? In other words, is there an easy way I can find out if the user edited a single occurrence or an entire series? 

Vinitha Devi Murugan [Syncfusion]
Replied On November 29, 2019 09:26 AM UTC

Hi Jose, 
 
Syncfusion Greetings. 
 
By using the scheduler's popupOpen and popupClose event, we can easily find out if the user edited a single occurrence or a whole series. Please refer below codes and same can be available in below sample. 
 
 
 onPopupClose(args:PopupCloseEventArgs): void { 
      if(args.type == "RecurrenceAlert"){ 
        this.flag = true; 
      } 
    } 
    onPopupOpen(args:PopupOpenEventArgs): void{ 
      if(args.type == 'Editor' && this.flag){ 
        // If user click the 'this event' from popup you will get current Action as 'EditOccurrence' else you get currentAction as 'EditSeries' 
        alert(this.scheduleObj.currentAction); 
        this.flag = false; 
      } 
    } 
 
In the above example, the popupOpen event alerts the currentAction as' EditOcurrence' when the user edited the single occurrence, otherwise it alerts currentAction as' EditSeries.' 
 
Kindly try with the above sample and let us know if you need any further assistance on this.  
 
Regards, 
M.Vinitha devi 


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