How can I catch remove/save button event from Lightbox?

Hi,

I’m now trying to use baseline function, and want to know if it is possible to catch the remove/save button click event from lightbox.
sample: docs.dhtmlx.com/gantt/samples/0 … lines.html

There is a remove/save button on lightbox here, and I want to catch the event of those buttons click.
Does anyone have any idea?

Thank you in advance.

Hi,

You can find these events in API:
docs.dhtmlx.com/gantt/api__gant … event.html
docs.dhtmlx.com/gantt/api__gant … event.html

Hi Polina,

Thank you for your reply.
I’m sorry about my mistake but what I meant was the buttons “remove/set”, not “remove/save”.
Please take a look at the attached.

The events you’ve shown me don’t seem to work for those buttons.

Unfortunately there is no built-in solution, try to catch onclick js event on this button.