Hello,
I want to intercept dblclick action on task for replace the lightbox by a personal interface.
I try to use :
gantt.detachAllEvents(); but the lightbox already pop.
I try to use :
gantt.attachEvent(“onItemDblClick”, function(id, e) {
alert(“You’ve just double clicked an item with id=”+id);
});
but I never see this alert and I always see the lightbox.
I do something wrong ?
Splitty
#2
According to the documentation there is no event onItemDblClick. There is onTaskDblClick.
docs.dhtmlx.com/gantt/api__gantt … event.html
True that work fine with onTaskDblClick. Thanks.
But I also found the “onItemDblClick” on documentation :
docs.dhtmlx.com/gantt/api__gantt … vents.html
Sorry for inconvenience, we will update this misleading page in a documentation.