Click or Select Event?

8 posts, 1 answers
  1. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 30 Oct 2013 Link to this post

    I'm tracking changes to events (rescheduled, cancelled, times change, etc. etc.) and would like to be able to single-click on a scheduler event to raise an event which will display details and change activity in a grid.

    I don't see a select event and am wondering what the best way to do this would be?

    Thanks!
  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3748 posts

    Posted 31 Oct 2013 Link to this post

    Hello Cyndie,

     
    Since Kendo UI Q3 2013 BETA release we've introduced a change event, which raises when the user selects slot or event. Check the events demo for more information.

    Regards,
    Georgi Krustev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 31 Oct 2013 Link to this post

    Okay, I found the beta download and will give it a try.
  4. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 31 Oct 2013 Link to this post

    Thank you, this seems to do what I need! 

    I do notice an issue with the text color when you click on the event.  I'm using resources that set the background color of the event and when the background color is light, the text color is black.  When I click on the event, triggering the select event, black text turns to white until I click somewhere else, making it hard to read.

    Thanks again.
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3748 posts

    Posted 31 Oct 2013 Link to this post

    Hello Cyndie,

     
    I believe that my colleague has already addressed this issue. Every interested can refer to this link for more information.

    Regards,
    Georgi Krustev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 31 Oct 2013 Link to this post

    I had to set the color for both k-event and k-event-inverse and then it worked okay.

    Thanks.
  7. Peter
    Peter avatar
    7 posts
    Member since:
    May 2014

    Posted 05 Aug 2014 in reply to Georgi Krustev Link to this post

    Chang event will react when change happens. Is there option to un-select selected event so it triggers change next time event is clicked.

    Thanks
  8. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2194 posts

    Posted 07 Aug 2014 Link to this post

    Hi Peter,

    Basically using the scheduler "selection" to track the clicks on the events is not recommended and you should avoid this approach. For example you can attach custom "click" event handler to the elements with "k-event" class using the scheduler "dataBound" event.

    Kind 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