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
})
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.