How to remove recurrence rule options

Hi there,

I actually i am trying to implement the syncfusion calendar in my project.

and i want to remove options "MONTHLY" and "YEARLY" from my repeat options i.e i want to keep only NEVER, DAILY , WEEKLY options.

Can you help me with the same.

I have also attached a picture with options i want to hide or remove. 

Screenshot 2021-10-25 123840.jpg

Regards,

Shubham


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team October 26, 2021 02:02 PM UTC

Hi Shubham, 
  
Thanks for using Syncfusion Products. 
  
We have validated your reported query "How to remove recurrence rule options" and suggest you to set the appropriate frequencies option in popupOpen event to achieve your requirement. 
  
  
app.component.ts:   
  public onPopupOpen(argsPopupOpenEventArgs): void { 
    if (args.type === 'Editor') { 
      (<any>this.scheduleObj.eventWindow).recurrenceEditor.frequencies = [ 
        'none', 
        'daily', 
        'weekly', 
      ]; 
    } 
  } 
  
Kindly try the above sample and let us know if this meets your requirement. 
  
Regards, 
Satheesh Kumar B 


Loader.
Up arrow icon