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

2 posts, 0 answers
  1. Martin
    Martin avatar
    15 posts
    Member since:
    Sep 2013

    Posted 07 Nov 2013 Link to this post

    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"

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

  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 08 Nov 2013 Link to this post

    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.

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top