onXScaleClick

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

void onXScaleClick(number index,object value,Event e);
indexnumberthe column index of the clicked cell (zero-based numbering)
valueobjecta Date object of the start time stamp of the clicked cell
eEventa native event object

Example

scheduler.attachEvent("onXScaleClick", function (index, value,e){
    //any custom logic here
});

Back to top