adjustTaskHeightForBaselines

adjusts the task's row height for proper display of baseline elements

void adjustTaskHeightForBaselines(Task task);
taskTaskthe task object whose `row_height` will be adjusted

Available only in PRO Edition

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.

See also
Change log

added in v9.0

Back to top