Recurrence Alert Customization

Hello,

Is there a way to use a customized Recurrence Alert? 

If not, is there a way to open a custom editor template when clicking a recurring event instead of the Recurrence Alert?

Thanks!


3 Replies

RM Ruksar Moosa Sait Syncfusion Team September 29, 2022 11:08 AM UTC

Hi Drew,


Q1.Is there a way to use a customized Recurrence Alert? 

Could you please get back to us with the below details that help us to check with your requirement and provide the solution earlier?

  • What type of customization you want for the RecurrenceAlert popup?
  • Share with us a screenshot or a video reference of your requirement.


Q2.Is there a way to open a custom editor template when clicking a recurring event instead of the Recurrence Alert?

We have checked on your query and let you know that you can prevent the RecurrenceAlert popup by setting args.cancel to true and open the editor using the openEditor public method like the below code. We have prepared a sample for your reference. Kindly try the below sample and let us know if you need further assistance.



onPopupOpen(args) {

      if (args.type === 'RecurrenceAlert') {

          args.cancel = true;

          this.scheduleObj.openEditor(args.data'EditOccurrence'); // To open the occurrence of the event

      }

    }


Sample: https://stackblitz.com/edit/react-oswrqp?file=index.js


API for openEditor: https://ej2.syncfusion.com/react/documentation/api/schedule#openeditor


Regards,

Ruksar Moosa Sait



DR Drew September 30, 2022 02:11 AM UTC

Hi Ruksar,


Thanks for the quick response. Your second answer actually gave me everything that I need, so thank you very much!
Regards,
Drew



RV Ravikumar Venkatesan Syncfusion Team September 30, 2022 01:41 PM UTC

Hi Drew,


Thanks for the update.


We are happy that our provided solution fulfills your need.


Regards,

Ravikumar Venkatesan


Loader.
Up arrow icon