Skip to main content

onTaskUnselected

Description

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

onTaskUnselected: (id: string | number) => void;

Parameters

  • id - (required) string | number - the 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.