getActionData
Description
Returns the current cursor-pointed date and section (if defined)
getActionData: (e: Event) => any
Parameters
e- (required) Event - a native event object
Returns
point- (object) - an object with 2 properties:- date - (Date) the object of the cursor-pointed date
- section - (string, number) the id of the cursor-pointed section (for the Timeline and Units view)
Example
scheduler.attachEvent("onMouseMove", function(id, e){
var action_data = scheduler.getActionData(e);
// -> {date:Tue Jun 30 2009 09:10:00, section:2}
...
})
Related samples
Details
note
Available from version 3.5
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.