본문으로 건너뛰기

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.