当用户在lightbox(编辑表单)中按下“取消”按钮时触发
scheduler.attachEvent("onEventCancel", function(id, flag){ //这里写任何自定义逻辑 });