onTaskUnselected

fires when the user unselects a task by selecting some other task

void onTaskUnselected(string|number id);
idstring|numberthe task id (of the unselected task)

Example

gantt.attachEvent("onTaskUnselected", function(id){
    //any custom logic here
});

Details

The event is called for each task of the multiselection range.

If the multiselect extension is enabled, the event also fires when a user removes selection from the selected task.

See also
Back to top