change event does not fire on deselect outside of scheduler

4 posts, 0 answers
  1. Paul
    Paul avatar
    24 posts
    Member since:
    Aug 2013

    Posted 30 Sep 2014 Link to this post

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

    Posted 02 Oct 2014 Link to this post

    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!
     
  3. Paul
    Paul avatar
    24 posts
    Member since:
    Aug 2013

    Posted 02 Oct 2014 in reply to Vladimir Iliev Link to this post

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

    Posted 06 Oct 2014 Link to this post

    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!
     
Back to Top