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

Customizing recurrence editor

Thread ID:





148533 Oct 24,2019 02:52 AM UTC Oct 28,2019 04:56 AM UTC Angular - EJ 2 3
Tags: Schedule
jose lara
Asked On October 24, 2019 02:52 AM UTC

Hi, in the recurrence editor, when a user selects repeat= "daily"
  1. I want to restrict "Repeat Every" drop down list to have only certain values. e.g. "1","3" 
  2. Also, the "End" drop down should only contain option "Until". How can I do this?

I tried the following, but getting this error -  Cannot read property 'endType' of undefined

document.getElementById('RecurrenceEditor').style.display = (this.scheduleObj.currentAction == "EditOccurrence") ? 'none' : 'block';
(this.scheduleObj.eventWindow as any).recurrenceEditor.recurrenceEditor.endType.listData=[{text:'some text', value:'xxx'}]

Vinitha Devi Murugan [Syncfusion]
Replied On October 24, 2019 10:53 AM UTC

Hi Jose, 
Syncfusion greetings. 
We achieved your requirement by making use of popupOpen event of the scheduler and same can be available in below link. 
In the above sample, we have achieved this case by using recurrence editor’s change event in Scheduler’s popupOpen event. 
Kindly try with the above sample and let us know, if you need any further assistance on this.  
M.Vinitha devi 

jose lara
Replied On October 26, 2019 09:01 PM UTC

thx. This works as expected. I wish there was an easier way to change it. In the same example, can you also tell me how I can only show repeat options "never", "weekly" and "monthly"? I believe this filteration should be happen at popup load time, instead of  recurrence.change event, as shown in your code sample.  

Vinitha Devi Murugan [Syncfusion]
Replied On October 28, 2019 04:56 AM UTC

Hi Jose, 
Thanks for your update. 
You can change the frequencies of the recurrence list by using below line same can be available in below sample. 
      // To change the frequencies in recurrence list 
      (this.scheduleObj.eventWindow as any).recurrenceEditor.frequencies = ['none','weekly', 'monthly']; 
Please refer below UG link. 
M.Vinitha devi 


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