Skip to main content

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 whose row_height will be adjusted

Example

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

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.

Change log

  • added in v9.0