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.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.