Create my own k-tooltip-validation

2 posts, 0 answers
  1. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 03 Dec 2015 Link to this post


    I'm trying to preventing the creation or updating of a task with the same route_id and the same period of a another task.

    Here is my code :

    I'm using a function called : isRouteAlreadyScheduledInside() to find out if the user can continue with the save process or not.

    if not the flag "sameRouteLocation" is on and the tooltip pop up.

    My problem is that: It's not working so well and the tooltip icon pop up with delay.

    I would be happy to use the build-in tooltip "k-tooltip-validation" with my condition (isRouteAlreadyScheduledInside) on my select called "Route".






  2. Dimiter Topalov
    Dimiter Topalov avatar
    316 posts

    Posted 07 Dec 2015 Link to this post

    Hi Ran,

    The Kendo UI ToolTip opening and closing animations' duration can be adjusted through the and animation.close.duration configuration properties.

    You can explore other options for adjusting the widget to best suit the requirements here.

    If you are not trying to speed up tooltip display, and the problem is something different, please provide a demo, which works, as the current one throws a Javascript error in the isRouteAlreadyScheduledInside function. Also explain the steps I need to perform in order to observe the tooltip delay.

    Hope this helps.

    Dimiter Topalov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top