4 Answers, 1 is accepted
0
0

Gregor
Top achievements
Rank 1
answered on 11 Sep 2015, 01:57 PM
Is it then better at them moment to use the Kendo Gantt instead? The ASP.NET control seems to be just a wrapper around it and in Kendo Gantt that function is available I think.
Thx
Gregor
0

Gregor
Top achievements
Rank 1
answered on 11 Sep 2015, 03:46 PM
Found a solution when I was working on doublecklicking a task. It would be possible to turn off the build in tooltip (ShowTooltip=False) an use mouseover/in/out or click Events in javascript to show customized dialogs.
$(document).ready(function() {
$(".rgtTask").on("dblclick", function(e) {
var gantt = $find("<%=_projectGanttChart.ClientID%>")._widget;
e.stopPropagation();
var element = $(e.target);
if (!element.is(".rgtTask")) {
element = element.closest(".rgtTask");
}
if (element.length==1) {
task = gantt.dataItem($(".rgtTreelistContent").find("[data-uid="+element.data("uid")+"]"));
if (task != null) {
... do something
}
}
});
});
0
Hello Gregor,
Indeed the control could be customized in the demonstrated manner - by disabling the inbuilt tool tip and creating a custom one on the dbclick event of certain task.
Thank you for sharing your solution with the community.
Regards,
Nencho
Telerik
Indeed the control could be customized in the demonstrated manner - by disabling the inbuilt tool tip and creating a custom one on the dbclick event of certain task.
Thank you for sharing your solution with the community.
Regards,
Nencho
Telerik