Navigate Through available Events

8 posts, 0 answers
  1. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 14 Mar Link to this post

    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.

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 16 Mar Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 28 Mar in reply to Vladimir Iliev Link to this post

    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.

  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 29 Mar Link to this post

    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!
     
  6. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 30 Mar in reply to Vladimir Iliev Link to this post

    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.
  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 31 Mar Link to this post

    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!
     
  8. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 31 Mar in reply to Vladimir Iliev Link to this post

    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?
  9. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 04 Apr Link to this post

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