본문으로 건너뛰기

silent

Description

그 안의 모든 코드가 내부 이벤트나 서버 측 호출을 트리거하지 않도록 합니다

silent: (callback: GanttCallback) => void

Parameters

  • callback - (필수) function - 콜백 함수

Example

gantt.silent(function () {
// 이 작업은 클라이언트 측에서만 삭제됩니다
// Gantt 차트가 자동으로 다시 그려지지 않습니다
gantt.deleteTask(id);
});

// 준비가 되면 Gantt를 수동으로 다시 렌더링합니다
gantt.render();
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.