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

ignore_time

Description

Скрывает единицу времени на масштабе времени

ignore_time: GanttCallback

Example

// 0 соответствует воскресенью, 6 - субботе
gantt.ignore_time = function(date){
if(date.getDay() == 0 || date.getDay() == 6)
return true;
};

Details

Метод ignore_time — это функция, которая принимает дату ячейки в качестве параметра. Чтобы скрыть единицу, верните true для неё.

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.