Set current date of the scheduler from an external variable dynamiclly

2 posts, 0 answers
  1. IMF
    IMF avatar
    12 posts
    Member since:
    Jun 2012

    Posted 17 May Link to this post

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

    Posted 19 May Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top