본문으로 건너뛰기

getTaskTop

Description

타임라인 영역에서 태스크의 DOM 요소의 상단 위치를 가져옵니다

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

Parameters

  • id - (required) number | string - 태스크의 id

Returns

  • \top` - (number) - 태스크의 DOM 요소의 CSS top 위치(픽셀 단위)

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.