跳到主要内容

showLightbox

Description

打开指定任务的lightbox

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

Parameters

  • id - (required) string | number - 任务ID

Example

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

gantt.hideLightbox();

Details

此方法会触发 onBeforeLightboxonLightbox 事件。

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.