getTaskHeight

returns the visible height of a task

number getTaskHeight( [string|number id] );

Parameters

idstring|numberthe task's id

Returns

numberthe height of the specified task or, if the id parameter is not specified, the height of the tasks

Example

const height = gantt.getTaskHeight(); // -> 30

Back to top