본문으로 건너뛰기

onCircularLinkError

정보

이 기능은 PRO 에디션에서만 사용할 수 있습니다.

Description

순환 참조가 감지되었고 자동 스케줄링이 불가능할 때 발생합니다

onCircularLinkError: (link: Link, group: any) => void;

Parameters

  • link - (required) Link - 링크 객체
  • group - (required) object - 루프에 연결된 작업 및 링크의 그룹

Example

gantt.attachEvent("onCircularLinkError",function(link, group){
// 여기에 코드 작성
});

Details

group 매개변수는 루프에 연결된 작업 및 링크의 그룹을 포함하는 객체를 나타냅니다.

{ 
tasks: [//ids of tasks connected in a loop],
links: [//ids of links connected in a loop]
}
노트

메서드는 활성화된 상태에서 auto_scheduling 플러그인이 필요합니다.

Change log

  • group 매개변수는 버전 4.1에서 추가되었습니다.
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.