Перейти к основному содержимому

getTaskHeight

Description​

Возвращает видимую высоту задачи

getTaskHeight: (id?: string | number) => number

Parameters​

  • task - (необязательно) string | number - идентификатор задачи

Returns​

  • height - (number) - высота указанной задачи или, если параметр id не указан, высота задач

Example​

const height = gantt.getTaskHeight(); // -> 30
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.