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

getTaskTop

Description

Получает верхнюю позицию DOM-элемента задачи в области timeline

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

Parameters

  • id - (required) number | string - ID задачи

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.