본문으로 건너뛰기

getTaskHeight

Description

태스크의 화면에 보이는 높이를 반환합니다

getTaskHeight: (id?: string | number) => number

Parameters

  • task - (optional) string | number - 태스크의 ID

Returns

  • height - (number) - 지정된 태스크의 높이 또는 id 매개 변수가 지정되지 않은 경우 태스크들의 높이

Example

const height = gantt.getTaskHeight(); // 결과: 30
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.