Перейти к основному содержимому

getTaskTop

Description

Получает верхнюю позицию DOM-элемента задачи на временной шкале

getTaskTop: (id: number | string) => number

Parameters

  • id - (обязательный) number | string - идентификатор задачи

Returns

  • top - (number) - положение CSS top у DOM-элемента задачи в пикселях

Example

gantt.getTaskTop(2);
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.