I am using the Kendo UI v2015.1.429 with Scheduler Recurrence feature. I create a recurrence event with information
Repeat every: 1
Repeat on: first/second/... -> "weekday"/"weekend day"
Then I see the displaying result only shows 1 event in day of month. I think the "weekday" will show from Monday to Friday and the "weekend day" will show satuday and sunday.
Can you help to give me your suggestion?
6 Answers, 1 is accepted
A recurring event that repeats every month on every first day of the week, means that it will be shown only once per month in the first possible day of the week where the month starts. For instance, if the setup is "First weekday" and the month starts on Wendnesday (2012-08-01), then the event will be shown there.
If the recurrence is changed to "First weekend", then the event will be shown in the first Saturday of the month.
Let me know if something is not clear or you need further assistance.
Our application implements ical standard and follows RFC5545 specification for the RecurrenceRule value (http://tools.ietf.org/html/rfc5545). For example, event occurs every first weekday of the month in ical will mark 5 first working days of the month. However, you advised that Kendo UI will only understand that rule as one first working day of the month. Could you please advise how we could interpret the recurrence rule in this case from ical to kendo ui? Should we transform the ical recurrence rule to 5 smaller Kendo UI rules to make this scenario work?
The recurrence engine of the Scheduler also follows RFC5545 specs. The recurrence rule, you are referring to, however, shows only one event at the first weekday of the month. The RecurrenceEditor actually sets the following recurrence rule when "first weekday" is set:
If you need different behavior, then you will need to modify the recurrenceRule to match your business requirements. Probably, you will need and custom recurrence editor template in this case.
Hello,So if we have the following rule in ical (RFC5545):
What is the equivalent rule in Kendo UI?
Could you please point us out how to custom recurrence editor template to have that rule?
We also try the following Kendo UI rule starting from 18/01/2016:
and it renders as below:
Feb 2016: 5 days (1st Mon to 5th Fri)
Mar 2016: 1 day (7th Mon)
Apr 2016: 4 days (4th Mon to 7th Fri)
Is that the way Kendo UI works? If yes, can you please explain how it works in this case?
It seems that the widget renders events only for the second week. The days from the first week are taken into account, but not generated. This behavior is not expected and should be addressed on our side. O logged the issue and it will be fixed in some of our next internal builds of Kendo UI.
For now, we would not be able to provide any feasible workaround as the generation issue is caused by the recurring engine.