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

Scheduler recurrence editor default Days checkbox in Weekly mode

8 Answers 289 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 15 May 2014, 12:37 PM
When creating a new recurring weekly event, the current day's checkbox is checked by default.  For example, if today is Thursday, and I click on a Tuesday to create a weekly event, the Thursday checkbox will be checked.  Is there an event I can handle when "Weekly" is selected to clear the checkboxes?

8 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 19 May 2014, 07:21 AM
Hello Frank,

The RecurrenceEditor widget is designed to select the checkbox which corresponds the week day of the edited day. If you create an event in Tuesday the selected checkbox will be "Tuesday" although today is Friday for instance. Check this screencast which depicts what I mean. I believe that this is the expected behavior and it should not be changed.
To answer your question, the widget raises change event which you can wire and when it is raised to modify the widget value.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Frank
Top achievements
Rank 1
answered on 20 May 2014, 12:10 PM
I am seeing the opposite behavior.  No matter what day I click, the checkbox is always checked for today.  I will try the change event to clear the value.
0
Georgi Krustev
Telerik team
answered on 20 May 2014, 12:15 PM
Hello Frank,

This seems odd. Could you please try to reproduce the issue on our online demos? Is there any difference between them and your case? This information will help us to identify whether there are any issues with the widget.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Myron
Top achievements
Rank 1
answered on 07 Jan 2016, 07:02 PM
I am having the same problem and have been able to reproduce it (http://dojo.telerik.com/@mrosvick/ucUKA) by adding a custom editorTemplate to the "Basic Usage" demo.  I have reduced the template to just include the recurrenceRule component but the same behaviour occurs when I have all of the normal fields (start/end dates, etc.) in the template.  When I select a Weekly recurrence, the day that is checked by default is always today's day of the week instead of the day that I have selected.
0
Benjamin
Top achievements
Rank 1
answered on 08 Jan 2016, 11:27 AM
We are having this same issue with Weekly and Monthly Recurrence rules. The "Repeat on" value defaults to today's day/date rather than the day/date of the cell you clicked on. Running 2015.3.1111
0
Georgi Krustev
Telerik team
answered on 11 Jan 2016, 02:30 PM
Hello,

If you would like to honor the selected date, then you will need to set the date option of the widget. That being said, you will need to initialize the widget manually, like it is done here: The other option is just to update the date value using widget's setOptions method:
Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Benjamin
Top achievements
Rank 1
answered on 12 Jan 2016, 02:22 PM
[quote]Georgi Krustev said:The other option is just to update the date value using widget's setOptions method:

Thank you Georgi, this worked perfectly.

0
Myron
Top achievements
Rank 1
answered on 12 Jan 2016, 09:16 PM
Thank you, Georgi.  We, too, have applied the setOptions change as suggested and it is working correctly.
Tags
Scheduler
Asked by
Frank
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Frank
Top achievements
Rank 1
Myron
Top achievements
Rank 1
Benjamin
Top achievements
Rank 1
Share this question
or