This is a migrated thread and some comments may be shown as answers.

Possible to get the date of last occurance of an event?

1 Answer 31 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 07 Nov 2013, 08:51 PM

<script>
var event = new kendo.data.SchedulerEvent({
 id: 1,
 start: new Date("2013/9/2 12:00"),
 end: new Date("2013/9/2 12:30"),
 title: "Lunch",
recurrenceRule: "FREQ=MONTHLY;COUNT=2;BYMONTHDAY=15"
});
</script>

How can I determine the last date of this recurring event?

-Martin

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 08 Nov 2013, 05:32 PM
Hello Martin,

 
You can use Scheduler.expand method to generate a list of occurrences based on the recurring rule of the event. Check this jsBin demo, which shows how to achieve your goal.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Martin
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or