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.