Skip to main content

onTaskRowClick

Description

Fires when the user clicks on a row in the table

onTaskRowClick: (id: string | number, row: HTMLElement) => void;

Parameters

  • id - (required) string | number - the task id
  • row - (required) HTMLElement - an HTML element of the clicked row

Example

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