跳转到主要内容

onXScaleDblClick

Description

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

onXScaleDblClick: (index: number, value: object, e: Event) => void

Parameters

  • index - (required) number - 被点击列的零基索引
  • value - (required) object - 一个表示被点击单元格起始时间戳的 Date 对象
  • e - (required) Event - 一个原生事件对象

Example

scheduler.attachEvent("onXScaleDblClick", function (index, value, 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.