본문으로 건너뛰기

adjustTaskHeightForBaselines

Description

베이스라인 요소가 올바르게 표시되도록 태스크의 행 높이를 조정합니다

adjustTaskHeightForBaselines: (task: Task) => void

Parameters

  • task - (required) Task - row_height 를 조정할 태스크 객체

Example

const task = gantt.getTask(taskId);
gantt.adjustTaskHeightForBaselines(task);
gantt.render();

Details

이 메서드는 지정된 작업의 row_height를 업데이트하여 baseline 요소가 제대로 표시되도록 합니다.

보통 이 메서드를 호출할 필요는 없습니다. 주로 gantt.config.baselines 설정을 동적으로 변경할 때 사용됩니다.

Change log

  • v9.0에서 추가됨
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.