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

change event does not fire on deselect outside of scheduler

3 Answers 100 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 30 Sep 2014, 01:57 PM
I'm using the change event to update my gui with information relevant to the currently selected event-entry in the scheduler, but I'm not getting a change event when you deselect by clicking outside the scheduler. The event-entry becomes deselected (colour changes), but no event fires. Any ideas?

Cheers, Paul.

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 02 Oct 2014, 09:36 AM
Hi Paul,

Basically the Scheduler selection is not changed when you focus-out of the Scheduler - instead it's just hidden as the Scheduler is no longer the active element.
Also could you please elaborate more on the exact scenario that you have and how you are using the Scheduler selection? This way we will be able to advice you better how to achieve the desired behavior.

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!
 
0
Paul
Top achievements
Rank 1
answered on 02 Oct 2014, 09:40 AM
Hi Vladimir,

My use case is that I am displaying context sensitive information (on the menu bar) contained within the data for an event whenever the user selects an event in the scheduler.

At the moment, when the user clicks outside the scheduler, the event looks like it has been deselected, but in actual fact as you point out it has not. This will be confusing for my users since the context sensitive information will remain displayed when the event looks like it has been deselected.

IMO, the event deselection should be in sync with the visual appearance of the event in all cases.

Cheers, Paul.
0
Vladimir Iliev
Telerik team
answered on 06 Oct 2014, 08:44 AM
Hi Paul,

After discussing current behavior with our dev team we decided to improve current behavior, however currently I can't be more specific exactly when this change will be available (most probably in the internal builds after the Q3 release).
Also until the change is implemented you can bind event to the scheduler to detect when the widget is no longer the active element on the page - this way you will be able to detect when the selection is not visible to the user and optionally call your "change" event handler (example here).

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