#102294
YavorDashev
Member

Hi Javi Navarrete,
I guess there has been some misunderstanding from my side.
When you have a repeating event which repeats each day from monday to friday you can remove the repeated event by using the exceptions property of the event.
Code snippet for this:

{
        label: 'Design Review',
        dateStart: new Date(currentYear, currentMonth, 1),
        dateEnd: new Date(currentYear, currentMonth, 2),
        allDay: true,
        backgroundColor: '#388E3C',
        repeat: {
            repeatFreq: 'daily',
            repeatInterval: 1,
            repeatEnd: 15,
            exceptions: [
                {
                    date: new Date(currentYear, currentMonth, 2),
                    label: 'Official Holliday',
                    backgroundColor: '#64DD17',
                    hidden: true
                },
                {
                    date: new Date(currentYear, currentMonth, 7),
                    label: 'Day off',
                    hidden: true
                },
                {
                    date: new Date(currentYear, currentMonth, 15),
                    label: 'Day off',
                    hidden: true
                },
                {
                    date: new Date(currentYear, currentMonth, 9),
                    label: 'Rescheduled. Simon is not available',
                    dateStart: new Date(currentYear, currentMonth, 8),
                    dateEnd: new Date(currentYear, currentMonth, 9),
                    backgroundColor: '#2196F3'
                }
            ]
        }
    },

Also demo for repeating events: https://www.htmlelements.com/demos/scheduler/repeating-events/
Let me know what you think!
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/