Skip to main content

onTaskSelected

Description

Fires when the user selects a task

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

Parameters

  • id - (required) string,number - the task id

Example

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

Details

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