How to link scheduler to calendar

5 posts, 1 answers
  1. Hung-Chi
    Hung-Chi avatar
    35 posts
    Member since:
    Mar 2017

    Posted 13 Mar Link to this post

    I use Kendo().Scheduler and Kendo().Calendar() at same time

    I want if date on scheduler change and then calendar date also change

    How to link scheduler and calendar?

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1213 posts

    Posted 13 Mar Link to this post

    Hello Hung-Chi,

    Here's a sample dojo, which shows how you can link the Calendar to the Scheduler. This is done by getting the date you navigate to in the Scheduler's navigate event (e.date) and passing it to the Calendar's value method.

    Regards,
    Ivan Danchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Hung-Chi
    Hung-Chi avatar
    35 posts
    Member since:
    Mar 2017

    Posted 13 Mar in reply to Ivan Danchev Link to this post

    I apologize for not making my points clear

    I also want calendar date change and then scheduler date change either

    But in the sample I can't do this...

     

  4. Hung-Chi
    Hung-Chi avatar
    35 posts
    Member since:
    Mar 2017

    Posted 14 Mar Link to this post

    Sorry...I still don't know how to do...
  5. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    1213 posts

    Posted 15 Mar Link to this post

    Hello Hung-Chi,

    If you want to set the Scheduler's date to be the same as the one selected in the Calendar, you can use a similar approach to the one I showed in the dojo example. The Calendar exposes a change event and in its handler you can get a reference to the Scheduler and set its date by calling its date method.

    Regards,
    Ivan Danchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top