跳转到主要内容

onYScaleDblClick

Description

当用户在 y 轴的单元格上双击时触发(仅适用于 Timeline 视图)

onYScaleDblClick: (index: number, section: object, e: Event) => void

Parameters

  • index - (required) number - 被点击行的零基索引
  • section - (required) object - 与被点击单元格关联的数据对象
  • e - (required) Event - 原生事件对象

Example

scheduler.attachEvent("onYScaleDblClick", function (index, section, e){
// 此处可添加自定义逻辑
});
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.