onLightbox

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

void onLightbox(string|number task_id);
task_idstring|numberthe id of the task opened in the lightbox

Example

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

Back to top