deleteTask
Description
지정된 작업을 제거합니다
deleteTask: (id: string | number) => void
Parameters
id- (required) string | number - 제거할 작업의 ID
Example
gantt.addTask({
id:10,
text:"Project #1",
start_date:"02-09-2013",
duration:28
});
gantt.deleteTask(10); /*!*/
Details
이 메서드는 onBeforeTaskDelete 및 onAfterTaskDelete 이벤트를 트리거합니다.
Related API
Related Guides
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.