Single Click instead of Double Click

16 posts, 1 answers
  1. Jakub
    Jakub avatar
    5 posts
    Member since:
    Apr 2014

    Posted 30 Apr 2014 Link to this post

    Hello,

    the current behaviour of Kendo Scheduler stands like this - you have to double-click to create / view / edit an event.

    Is there a way how to change this to:

    Single click selects a timeslot and next single click on that timeslots goes to the create screen. Thank you,

    Jakub
  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 01 May 2014 Link to this post

    Hello Jakub,

    In general, the double click behavior cannot be changed. Nevertheless, you can implement the required functionality manually using Scheduler API. Check this Kendo Scratchpad demo, which shows how to add new event on mousedown.

    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. Kendo UI is VS 2017 Ready
  4. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 09 Dec 2014 in reply to Georgi Krustev Link to this post

    Hi Georgi,
    we are facing the same problem.

    We do need a single-click, because we want to have the scheduler used on touch devices, and for touch devices a double-click is often breaking the ui usability.

    The demo you provided is also quite a hacky way for client-side coders (by the way, its not working!? Shouldnt the demo open a dialog on single-click? I just see a selected slot...).

    You really should implement clean way to change the click behaviors.

    Is there any way how to force this issue? By creating a support ticket?

    kind regards
    Christian
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 10 Dec 2014 Link to this post

    Hello Christian,

    The scheduler supports the so called "adaptive rendering" where the editing/creation is done on tap. I would suggest you check the Adaptive Rendering demo. Notice the "mobile" option usage.

    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. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 15 Dec 2014 in reply to Georgi Krustev Link to this post

    Hi Georgi,
    this is quite a nice feature, but -unfortunately- not solving our problem.

    We use your scheduler integrated on a webpage with several other ui elements beside and we dont have such a single full screen view of the scheduler.
    Further more, we are listening on the 'edit' event and do some very custom special dialog implementations.

    So, what we just need is firing the 'edit'-event for a single-click.

    kind regards
  7. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 16 Dec 2014 Link to this post

    Hello Christian,
     
    Here is a demo that edit on single click (mouseup) / touchend. I believe that it covers your requirement.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 13 Feb 2015 Link to this post

    Hi Georgi,
    ok, it works.

    Thanx for your support.

    kind regards
  9. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 06 Mar 2015 Link to this post

    Hi Georgi,
    could you please extend your example to have a single click also for events, not only for empty slots?

    ( Your example/solution slightly missed the use-case )

    thanx a lot and kind regards
  10. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 10 Mar 2015 Link to this post

    Hello,

    Check the updated demo. It uses editEvent method when an event is clicked:
    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  11. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 27 Mar 2015 in reply to Georgi Krustev Link to this post

    Hi Georgi,
    thanx for your update.

    I had to modify it not to get in conflicts with delete-case / click on X.
    http://dojo.telerik.com/ALEYI

    Please have a look, if its ok.

    I'm not sure about the different target types.
    First I check target, later I check currentTarget.

    I've only seen 'k-si-close' class only in target, not in currentTarget.

    So, I it seem to work, but you should have a review, please.

    regards
    Christian
  12. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 31 Mar 2015 Link to this post

    Hello Christian,

    The shared demo is for custom templates in the Calendar widget (not Scheduler), hence I will not be able to review the mentioned changes.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  13. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 02 Apr 2015 in reply to Georgi Krustev Link to this post

    ?!?

    Sorry, I dont understand your concern. I didnt create a modified shared demo of the Calendar Widget.
    Its a scheduler demo... just follow this link.

    http://dojo.telerik.com/ALEYI

    Did I something wrong?

    Christian
  14. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 03 Apr 2015 Link to this post

    Hello Christian,

    Thank you for the updated link (the previous one pointed to a calendar demo).

    The applied modifications seems OK and I think it should be fine to use it as it is.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  15. Christian
    Christian avatar
    8 posts
    Member since:
    Sep 2014

    Posted 23 Apr 2015 Link to this post

    Ok, thanx.
  16. Volodymyr Oliinyk
    Volodymyr Oliinyk avatar
    35 posts
    Member since:
    Nov 2006

    Posted 09 Sep Link to this post

    All examples I found here are working wrong with moving event.

    Please try to move & you will see flickering of the event dialog.

  17. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 13 Sep Link to this post

    Hello,

    Could you provide a more specific repro steps? A screencast that demonstrates the required actions to replicate the issue will be of a great help to observe the erroneous behavior.

    Regards,
    Georgi Krustev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready