onLightboxCancel

fires when the user clicks on the 'Cancel' button in the lightbox

void onLightboxCancel(string|number id);
idstring|numberthe task id ( the task opened in the lightbox)

Example

gantt.attachEvent("onLightboxCancel", function(id){
    //any custom logic here
})

See also
Back to top