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

Refresh Scheduler

1 Answer 94 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 03 Nov 2015, 01:09 PM
I own two fields beginning and end, when I update the first field I want the  to change the calendar start date that was entered in the field, this is possible?

Thank you

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 05 Nov 2015, 09:36 AM
Hello Carlos,

Yes it's possible and there are different ways to achieve this. For example you can subscribe to the Scheduler dataSource "change" event to track when the "beginning" field is changed to update the "start" field as well. 
dataSource: {
    batch: true,
    change: function(e) {
      if (e.action === "itemchange" && e.field === "title") {
        e.items[0].set("start", new Date());
      }
    },


Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Carlos
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or