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

Kendo Scheduler Implement Edit/Delete Occurrence

1 Answer 388 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Akanksha
Top achievements
Rank 1
Akanksha asked on 19 Aug 2016, 01:50 PM
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  
Thanks 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 23 Aug 2016, 09:47 AM
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:

https://tools.ietf.org/html/rfc5545#page-120

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:

http://dojo.telerik.com/agOCA

Please note that "title" field is mandatory.

Regards,
Georgi Krustev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Scheduler
Asked by
Akanksha
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or