Skip to main content

onXScaleClick

Description

Fires when the user makes a single click on a cell on the x-axis (the Timeline view only)

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

Parameters

  • index - (required) number - the column index of the clicked cell (zero-based numbering)
  • value - (required) object - a Date object of the start time stamp of the clicked cell
  • e - (required) Event - a native event object

Example

scheduler.attachEvent("onXScaleClick", function (index, value,e){
//any custom logic here
});
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.