Get date from touch event


with the following code is possible get the date pointed by the mouse:

scheduler.attachEvent("onMouseMove", function(id, e){
	var action_data = scheduler.getActionData(e);
	var date =;	

Now, what do I need make to know the date pointed by touch event in a mobile device?

There are onClick and onEmptyClick
One of them will fire for touch action ( onClick if you have touched the event box, or onEmptyClick in case of empty area ) - the same logic can be placed in them, to obtain the date by the position of action.

Thank you!

Here is the code I’m using:

        scheduler.attachEvent("onClick",function (event_id, native_event_object){
            var selected_date = scheduler.getActionData(native_event_object).date;  
            // ...
            return true;