Skip to main content

onLightbox

Description

Fires after the user has opened the lightbox (edit form)

onLightbox: (task_id: string | number) => void;

Parameters

  • task_id - (required) string,number - the id of the task opened in the lightbox

Example

gantt.attachEvent("onLightbox", function (task_id){
//any custom logic here
});