Hi,
I want to know how to delete/disable the confirmation box of the task delete. Please let me know how this can be achieved.
Thanks,
Sreenidhi
Hi,
I want to know how to delete/disable the confirmation box of the task delete. Please let me know how this can be achieved.
Thanks,
Sreenidhi
Hello Sreenidhi,
You can use onLightboxDelete
event handler and manually delete the task then hide the lightbox:
gantt.deleteTask(id);
gantt.hideLightbox();
Here is an example:
http://snippet.dhtmlx.com/6f8ffdac0
You can read more about the methods and the event handler in the following articles:
https://docs.dhtmlx.com/gantt/api__gantt_onlightboxdelete_event.html
https://docs.dhtmlx.com/gantt/api__gantt_hidelightbox.html
https://docs.dhtmlx.com/gantt/api__gantt_deletetask.html