onCellClick
Description
Fires when the user makes a single click on a cell (the Timeline view only)
onCellClick: (x_ind: number, y_ind: number, x_val: object, y_val: array, e: Event) => void;
Parameters
x_ind- (required) number - the column index of the clicked cell (zero-based numbering)y_ind- (required) number - the row index of the clicked cell (zero-based numbering)x_val- (required) object - a Date object of the start time stamp of the clicked celly_val- (required) array - an array of data items' objects resided in the clicked celle- (required) Event - a native event object
Example
scheduler.attachEvent("onCellClick", function (x_ind, y_ind, x_val, y_val, e){
//any custom logic here
});
Details
note
The event fires in the Timeline view only
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.