Skip to main content

onLightboxCancel

Description

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

onLightboxCancel: (id: string | number) => void;

Parameters

  • id - (required) string | number - the task id ( the task opened in the lightbox)

Example

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