Double Clicking a Task

5 posts, 0 answers
  1. Matthew
    Matthew avatar
    12 posts
    Member since:
    Jun 2015

    Posted 04 Aug 2015 Link to this post

    I was wondering if there is was to create a custom function for when the title of a task of a task is clicked in the left side of the chart (tree view) if the chart's "editable" characteristic is set to false.  Essentially I'd like to link to an external page when a user double clicks on the title of a task.  A Dojo snippet would be greatly appreciated.
  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 05 Aug 2015 Link to this post

    Hi,

    Here's a dojo sample demonstrating how you can use jQuery to bind to the title cell double click event:
    http://dojo.telerik.com/iXUFI

    Regards,
    Bozhidar
    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. Matthew
    Matthew avatar
    12 posts
    Member since:
    Jun 2015

    Posted 05 Aug 2015 in reply to Bozhidar Link to this post

    Hi,

     Is there any reason you know of as to why this wouldn't be working for me?  I have the function in the right place and a title field that expands to four levels.  When I double click any title of any of those levels I don't see any result.  Thanks. 

  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 06 Aug 2015 Link to this post

    Hi Matthew, 

    In order to further troubleshoot the reason for the experienced behavior at your side, please send us a dojo sample with the current implementation that you are using.

    Regards,
    Dimitar Terziev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Matthew
    Matthew avatar
    12 posts
    Member since:
    Jun 2015

    Posted 06 Aug 2015 in reply to Dimitar Terziev Link to this post

    Hi,

    I was actually able to resolve this issue in the interim.  The code below is what allowed for the functionality I was looking for, though I am still not exactly clear on why Bohzidar's snippet implementation wasn't working for me.  Thank you.

    $(".k-treelist .k-grid-content").dblclick(function (e) {}​)

Back to Top
Kendo UI is VS 2017 Ready