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

differentiate between single event and event series editing

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? 

1 Reply

VD Vinitha Devi Murugan Syncfusion Team 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' 
        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.  
M.Vinitha devi 

Live Chat Icon For mobile
Up arrow icon