Fired when the user clicks a task box, before the default TaskClick action (specified by taskClickHandling property).
The default action can be canceled by calling args.preventDefault().
dp.onTaskClick = function(args) { alert("Clicked: " + args.task.id()); };