Skip to main content

showLightbox

Description

Opens the lightbox for the specified task

showLightbox: (id: string | number) => void

Parameters

  • id - (required) string | number - the task id

Example

gantt.showLightbox(1);/*!*/

gantt.hideLightbox();

Details

The method invokes the onBeforeLightbox and onLightbox events.

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.