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
0
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
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
Hello George,
For your convenience I created small example which utilize the following class, events and methods:
Demo:
Regards,
Vladimir Iliev
Telerik
For your convenience I created small example which utilize the following class, events and methods:
- ObservableObject
- kendo.bind method
- kendo.unbind method
- Scheduler "dataBound" event
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
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
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
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
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!