Custom Button to Generate Lightbox

Are there any Snippets that show how to change the ‘editing task’ lightbox? I don’t want to use the double click feature, instead I want to generate the lightbox on a click of a custom button. I think i need to utilize gantt.getLightbox() on a click event, but It’s not seeming to work like I imagined.

Thanks!

I have already disabled the double click by using the onDblClick attach event, so this is the only change I’m struggling with.

Hello,

You need to use showLightbox method for opening Lightbox on click on custom button.
docs.dhtmlx.com/gantt/api__gantt … htbox.html

Thanks Polina,

Worked like a charm!