본문으로 건너뛰기

deleteCalendar

Description

id로 태스크 캘린더를 삭제합니다

deleteCalendar: (id: string | number) => void

Parameters

  • id - (required) string | number - 해당 캘린더의 ID

Example

// 캘린더 추가
gantt.addCalendar({
id:"custom",
worktime: {
hours: [8, 17],
days: [ 1, 1, 1, 1, 1, 1 ,1]
}
});

// 캘린더 삭제
gantt.deleteCalendar("custom");

Details

버전 4.2에서 추가되었습니다

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.