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

Navigate Through available Events

7 Answers 66 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 15 Mar 2016, 12:57 AM

Hello,

 

I am trying to create a way for users to toggle forward and backward between available (displayed) events in the scheduler using MVVM. These prev/next buttons sit outside of the widget and display information from each event in a separate panel. May you please advise the best way to do this?

 

Thanks.

7 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 16 Mar 2016, 11:45 AM
Hi George,

From the provided information it's not clear for me what exactly you are trying to achieve - could you please elaborate more on "toggle forward and backward between available (displayed) events"? If possible please provide screenshots of the desired behavior. This would help us advice you better how to proceed. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Tony
Top achievements
Rank 1
answered on 28 Mar 2016, 08:33 PM

I have created a simple dojo to illustrate what i'm trying to do:

http://dojo.telerik.com/ePULa

 

the left and right errors in the left column should toggle between the available events on the scheduler. I plan on using the databound/change events when moving to the next event to get the selected event data and display it on the page in the left column. I just am unaware and need guidance on how to have the errors toggle between events.

0
Vladimir Iliev
Telerik team
answered on 29 Mar 2016, 08:14 AM
Hello George,

For your convenience I created small example which utilize the following class, events and methods:
Demo: 
Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Tony
Top achievements
Rank 1
answered on 30 Mar 2016, 10:18 PM
This is great! I also want to add the ability for a user to click on an event simultaneously. May you please demonstrate the best way to do this? I tried subscribing the the change event, but I am having issues.
0
Vladimir Iliev
Telerik team
answered on 31 Mar 2016, 07:44 AM
Hello George,

I'm not sure that I understand what exactly you need to achieve - could you please elaborate more on the matter? 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Tony
Top achievements
Rank 1
answered on 31 Mar 2016, 09:11 PM
In addition for a user to navigate events and display event details on the left, I want to allow users to click on an event from within in the scheduler, which would update items in the left hand column, but still allow users to toggle forward or backward the even they have clicked on. I figure the onChange event was the best way to handle this...but i have ran into some issues. Was wondering if you may please provide a suggestion or solution solve my issue?
0
Vladimir Iliev
Telerik team
answered on 04 Apr 2016, 07:53 AM
Hello George,

To achieve the desired behavior you should customize the previously provided example to use the "change" event of the Scheduler and execute the same function with additional parameter - currently selected event. Currently however we have no such example which we can provide.

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
Tony
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Tony
Top achievements
Rank 1
Share this question
or