Replace the lightbox


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 ?

According to the documentation there is no event onItemDblClick. There is onTaskDblClick. … event.html

True that work fine with onTaskDblClick. Thanks.

But I also found the “onItemDblClick” on documentation : … vents.html

Sorry for inconvenience, we will update this misleading page in a documentation.