Gantt APIEventsonTaskSelectedOn this pageonTaskSelected Description Fires when the user selects a task onTaskSelected: (id: string | number) => void;Parameters id - (required) string,number - the task id Examplegantt.attachEvent("onTaskSelected", function(id){ //any custom logic here});DetailsThe event is called for each task of the multiselection range.Related API onBeforeTaskSelected onTaskUnselected