showLightbox
Description
打开指定任务的lightbox
showLightbox: (id: string | number) => void
Parameters
id- (required) string | number - 任务ID
Example
gantt.showLightbox(1);/*!*/
gantt.hideLightbox();
Details
此方法会触发 onBeforeLightbox 和 onLightbox 事件。
Related API
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.