Our powerful JS Calendar component


Post by ilyaskohistani »

Hey everyone,

I was trying to use Bryntum RecurrenceCombo and RecurrenceEditor, I couldn't find any component for it. I am not sure how i can implement these to generate RRULE outside Bryntum Calendar in a different component. Could you please share with me a way that i can implement this in my Vue application outside Bryntum Calendar. Thanks!


Post by Animal »

The format of recurrence rules is a standard: https://www.rfc-editor.org/rfc/rfc5545

There are easier to follow guides than that RFC out there.

If you need to create recurrence rules programatically, you can create a RecurrenceModel: https://bryntum.com/products/gantt/docs/api/Scheduler/model/RecurrenceModel

The https://bryntum.com/products/gantt/docs/api/Scheduler/model/RecurrenceModel#property-rule will then yield the rfc5545 formatted string.


Post by ilyaskohistani »

Hey Animal, Thank you for your reply. Is there any piece of code on how i can use this class? Also where can i find the related model for it?


Post by alex.l »

Hi ilyaskohistani,

Is there any piece of code on how i can use this class? Also where can i find the related model for it?

These components wasn't designed to be used in foreign components, so it requires some extra work from your side, but you can review source code to understand how it works. You need to check RecurrenceCombo.js, RecurrenceEditor.js, RecurringEventEdit.js, EventEdit.js. These files contains all the logic and links to all related classes.

All the best,
Alex


Post Reply