getTaskTop

获取任务DOM元素在时间轴区域内的顶部位置

number getTaskTop(number | string id);
idnumber | string任务的ID
number任务DOM元素的CSS top位置,单位为像素

Example

gantt.getTaskTop(2);

See also
Back to top