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

How to link scheduler to calendar

4 Answers 130 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
宏吉
Top achievements
Rank 1
宏吉 asked on 13 Mar 2017, 08:04 AM

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?

4 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 13 Mar 2017, 10:00 AM
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.
0
宏吉
Top achievements
Rank 1
answered on 14 Mar 2017, 02:41 AM

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...

 

0
宏吉
Top achievements
Rank 1
answered on 15 Mar 2017, 12:52 AM
Sorry...I still don't know how to do...
0
Accepted
Ivan Danchev
Telerik team
answered on 15 Mar 2017, 09:55 AM
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.
Tags
Scheduler
Asked by
宏吉
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
宏吉
Top achievements
Rank 1
Share this question
or