fires when the user selects a task
gantt.attachEvent("onTaskSelected", function(id){ //any custom logic here });
The event is called for each task of the multiselection range.