甘特图 API事件onLightbox页面内容onLightbox Description 在用户打开 lightbox(编辑表单)后触发 onLightbox: (task_id: string | number) => void;Parameters task_id - (required) string,number - 在 lightbox 中打开的任务的 ID Examplegantt.attachEvent("onLightbox", function (task_id){ // 在这里插入您的自定义逻辑 });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.