This is a migrated thread and some comments may be shown as answers.
Double Clicking a Task
4 Answers 52 Views
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 04 Aug 2015, 03:25 PM
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.

4 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 05 Aug 2015, 08:43 AM
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!
 
0
Matthew
Top achievements
Rank 1
answered on 05 Aug 2015, 01:16 PM

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. 

0
Dimitar Terziev
Telerik team
answered on 06 Aug 2015, 06:49 AM
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!
 
0
Matthew
Top achievements
Rank 1
answered on 06 Aug 2015, 12:45 PM

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) {}​)

Tags
Gantt
Asked by
Matthew
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Matthew
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or