跳到主要内容

onLightboxCancel

Description

当用户在灯箱中点击「取消」按钮时触发

onLightboxCancel: (id: string | number) => void;

Parameters

  • id - (required) string | number - 任务 ID(在灯箱中打开的任务)

Example

gantt.attachEvent("onLightboxCancel", function(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.