adjustTaskHeightForBaselines
Description
Adjusts the task's row height for proper display of baseline elements
adjustTaskHeightForBaselines: (task: Task) => void
Parameters
task- (required) Task - the task object whoserow_heightwill be adjusted
Example
const task = gantt.getTask(taskId);
gantt.adjustTaskHeightForBaselines(task);
gantt.render();
Related samples
Details
This method modifies the row_height value of the provided task to ensure correct display of baseline elements.
Typically, there is no need to call this method directly. It is necessary only when you dynamically modify the display settings of the gantt.config.baselines config.
Related API
Related Guides
Change log
- added in v9.0