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

Click or Select Event?

7 Answers 350 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cyndie
Top achievements
Rank 1
Cyndie asked on 30 Oct 2013, 06:57 PM
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!

7 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 31 Oct 2013, 09:24 AM
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!
0
Cyndie
Top achievements
Rank 1
answered on 31 Oct 2013, 02:38 PM
Okay, I found the beta download and will give it a try.
0
Cyndie
Top achievements
Rank 1
answered on 31 Oct 2013, 03:20 PM
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.
0
Georgi Krustev
Telerik team
answered on 31 Oct 2013, 04:09 PM
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!
0
Cyndie
Top achievements
Rank 1
answered on 31 Oct 2013, 05:06 PM
I had to set the color for both k-event and k-event-inverse and then it worked okay.

Thanks.
0
Peter
Top achievements
Rank 1
answered on 05 Aug 2014, 10:32 AM
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
0
Vladimir Iliev
Telerik team
answered on 07 Aug 2014, 11:01 AM
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!
 
Tags
Scheduler
Asked by
Cyndie
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Cyndie
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or