Scheduler recurrence editor default Days checkbox in Weekly mode

9 posts, 0 answers
  1. Frank
    Frank avatar
    4 posts
    Member since:
    Feb 2014

    Posted 15 May 2014 Link to this post

    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?
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 19 May 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Frank
    Frank avatar
    4 posts
    Member since:
    Feb 2014

    Posted 20 May 2014 Link to this post

    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.
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 20 May 2014 Link to this post

    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!
     
  6. Myron
    Myron avatar
    6 posts
    Member since:
    Aug 2014

    Posted 07 Jan in reply to Georgi Krustev Link to this post

    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.
  7. Benjamin
    Benjamin avatar
    2 posts
    Member since:
    Jan 2016

    Posted 08 Jan Link to this post

    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
  8. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 11 Jan Link to this post

    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!
     
  9. Benjamin
    Benjamin avatar
    2 posts
    Member since:
    Jan 2016

    Posted 12 Jan in reply to Georgi Krustev Link to this post

    Georgi Krustev said:The other option is just to update the date value using widget's setOptions method:
  10. Thank you Georgi, this worked perfectly.

  • Myron
    Myron avatar
    6 posts
    Member since:
    Aug 2014

    Posted 12 Jan in reply to Georgi Krustev Link to this post

    Thank you, Georgi.  We, too, have applied the setOptions change as suggested and it is working correctly.
  • Back to Top
    Kendo UI is VS 2017 Ready