Gantt APIMethodsgetTaskTopOn this pagegetTaskTop Description Gets the top position of the task's DOM element in the timeline area getTaskTop: (id: number | string) => numberParameters id - (required) number | string - the task's id Returns top - (number) - the CSS top position the task's DOM element in pixels Examplegantt.getTaskTop(2);Related API getTaskPosition