Auto-scheduling is a PRO feature. See licensing and trial info.
The schedule Prop
Pass a schedule object to the <Gantt> component to configure scheduling behaviour.
| Property | Type | Default | Description |
|---|---|---|---|
type | "forward" | — | Scheduling algorithm. Only forward scheduling is available. |
auto | boolean | false | When true, tasks are rescheduled automatically on every change. |
The summary Prop
The summary prop controls automated behaviour for summary (parent) tasks.
| Property | Type | Description |
|---|---|---|
autoProgress | boolean | Recalculates the progress of summary tasks based on child task progress. |
autoConvert | boolean | Automatically changes a task’s type to "summary" when child tasks are added. |
Forward Scheduling Mode
In forward scheduling mode (type: "forward"), the engine starts from the project start date and propagates task dates forward along the dependency chain:
- Tasks with no predecessors are placed at the
projectStartdate. - Each Finish-to-Start (
e2s) link causes the target task to start on or after the source task’s end date. - If
auto: true, this recalculation runs on every task edit, drag, or resize.
lag value are respected — the target task starts lag working days after the source ends (when a calendar is configured).
Basic Example
The demo below enables auto-scheduling with a fixed project start date. Moving or resizing any task propagates the change through the dependency chain automatically.How Finish-to-Start Scheduling Works
Whenschedule.auto is true, every e2s (end-to-start) link is evaluated after each change:
- The source task finishes at a calculated date.
- The target task start is pushed to match or exceed the source end date.
- The target’s end date shifts by the same offset, preserving duration.
- The cascade continues down the dependency chain recursively.
Controlling Project Bounds
UseprojectStart and projectEnd props to constrain the scheduling window:
projectStart. The projectEnd date is used by the Critical Path engine to identify late tasks.