본문으로 건너뛰기

deleteTask

Description

지정된 작업을 삭제합니다

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

Parameters

  • id - (필수) string | number - 작업의 ID

Example

gantt.addTask({
id:10,
text:"Project #1",
start_date:"02-09-2013",
duration:28
});

gantt.deleteTask(10); /*!*/

Details

메서드는 onBeforeTaskDeleteonAfterTaskDelete 이벤트를 발생시킵니다.

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.