Kendo Scheduler Implement Edit/Delete Occurrence

2 posts, 0 answers
  1. Akanksha
    Akanksha avatar
    2 posts
    Member since:
    Jul 2016

    Posted 19 Aug 2016 Link to this post

    Hello Team,
    I have issue in implementation (delete/Edit) of Kendo scheduler Occurrence  
    After searching I found solution i.e. Recurrences Exception date in YYYY-MM-DDTHH: MM: 00.000Z Format but nothing happen.

    Problem Explanation

    Data Base:
    Table with following fields (task ID, start, end, recurrence id, recurrence rule, recurrence exception)

    task ID start end recurrence id recurrence rule recurrence exception
    1 2016-08-23 08:00:00.000 2016-08-23 08:30:00.000 NULL FREQ=DAILY 2016-08-24 08:00:00.000
    2 2016-08-24 08:00:00.000 2016-08-24 08:00:00.000 1 NULL NULL

    When above data send to scheduler no exception come and one extra appointment created.
    I am using client side scheduler. Is above mechanism correct?
    How scheduler understand the task id =2 are deleted
    Please suggest or provide link for both functionality i.e. (delete/Edit) of Kendo scheduler Occurrence  
  2. Georgi Krustev
    Georgi Krustev avatar
    3724 posts

    Posted 23 Aug 2016 Link to this post

    Hello Akanksha,

    The widget expand a recurrence event based on its recurrence rule value. If there are exceptions, it will check whether the generated occurrence can be found in it the list. If it can, then the occurrence will not be rendered. This is how the widget will leave an empty slot for deleted occurrences or for exceptions events.

    The recurrence exception value should match the RFC5545 standard:

    If the dates are sent in the correct format, the widget will display them correctly. Check this Dojo demo built based on the given details:

    Please note that "title" field is mandatory.

    Georgi Krustev
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top