auto_scheduling
정보
이 기능은 PRO 에디션에서만 사용할 수 있습니다.
Description
자동 스케줄링 활성화
auto_scheduling: boolean | AutoSchedulingConfig
Example
gantt.config.auto_scheduling = true;
gantt.init("gantt_here");
Default value: false
Related samples
Details
노트
이 설정은 auto_scheduling 확장의 일부이므로, auto_scheduling 플러그인을 반드시 활성화해야 합니다. 자세한 내용은 자동 스케줄링 문서를 참고하세요.
auto_scheduling 옵션은 boolean 값 또는 객체 형태로 설정할 수 있으며, 객체를 사용할 경우 자동 스케줄링 동작에 대해 더 세밀한 제어가 가능합니다. 객체 사용 시 다음과 같은 설정을 할 수 있습니다:
- enabled - (boolean) - 자동 스케줄링을 켜거나 끄는 설정으로, boolean 값을 직접 설정하는 것과 동일합니다.
- show_constraints? - (boolean) - 간트 차트에서 작업 제약 조건을 표시할지 여부를 관리합니다.
true로 설정하면 제약 조건이 표시되고,false로 설정하면 숨겨집니다.
예를 들어, 자동 스케줄링은 켜고 작업 제약 조건은 숨기려면 다음과 같이 설정합니다:
gantt.config.auto_scheduling = {
enabled: true,
show_constraints: false
};
gantt.init("gantt_here");
Related API
- auto_scheduling_initial
- auto_scheduling_descendant_links
- auto_scheduling_move_projects
- auto_scheduling_project_constraint
- auto_scheduling_strict
- auto_scheduling_use_progress
- findCycles
- isCircularLink
- onAfterAutoSchedule
- onAfterTaskAutoSchedule
- onBeforeAutoSchedule
- onBeforeTaskAutoSchedule
- onCircularLinkError
- onAutoScheduleCircularLink
Related Guides
Change log
- 버전 9.0부터 이 설정은 객체 형태로 정의할 수 있습니다