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

Set current date of the scheduler from an external variable dynamiclly

1 Answer 221 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
IMF
Top achievements
Rank 1
IMF asked on 17 May 2016, 11:42 AM
Hello,

I have an external datepicker and on my page and I would like to use the date selected on the datepicker in the kendo scheduler.

I get the date on a $scope and the when I set the schedulerOptions I assign to it but when I change the date nothing happens to the scheduler. I would like to know how to refresh or assign the date parameter.

Thank you

1 Answer, 1 is accepted

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

If you can use the Scheduler API (this requires to get a reference to the Scheduler instance), then you can update the current date using the date method: If you would like to update the current date using scheduler configuration defined in the model, then you will need to use the k-rebind directive:
Regards,
Georgi Krustev
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
IMF
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or