<Gantt> component are tasks and links. tasks defines the work items rendered as bars in the chart, while links defines dependency arrows between those bars.
ITask fields
Unique identifier for the task. When omitted, an id is generated automatically. All
parent references and link source/target values must match task ids.Label displayed inside the task bar and in the grid’s task-name column.
Start date/time of the task. Required for regular tasks and milestones. Summary tasks
derive their start from child tasks when omitted.
End date/time of the task. You can supply either
end or duration — not both.
Milestones use start only; end is ignored.Duration expressed in the current
durationUnit (default: days). Used as an alternative
to end. When both are provided, end takes precedence.Completion percentage from
0 to 100. Renders a progress fill inside the bar.Visual type of the task. Built-in values are
"task", "summary", and "milestone".
Custom types can be added via the taskTypes prop.ID of the parent task. Use
0 (or omit) for root-level tasks. Nesting tasks under a
summary parent creates a collapsible hierarchy.When
true, the task’s children are expanded on initial render. Only meaningful for
summary-type tasks that have children.Optional description shown in the task editor panel.
When
true, the task has no fixed dates. It appears in the grid but not on the chart
timeline. Requires unscheduledTasks={true} on the <Gantt> component.When
true, the task bar is rolled up and displayed inside its parent summary bar.
Requires the rollups prop on the <Gantt> component.Splits the task into multiple non-contiguous segments. Each segment can override
start, duration, and text. Requires splitTasks={true} on the <Gantt> component.Baseline start date used for comparison against the actual
start. Shown as a
separate indicator when baselines={true} is set on the <Gantt> component.Baseline end date, paired with
base_start. Shown when baselines={true}.Hierarchical tasks
Tasks form a tree by setting theparent field to another task’s id. Any task that has
children should use type: "summary". Set open: true to expand children on load.
start/end values are provided.
ILink fields
Unique identifier for the link. Generated automatically when omitted.
ID of the task where the dependency arrow originates.
ID of the task where the dependency arrow points.
Dependency type. Controls which ends of the source and target bars the arrow connects.
| Value | Meaning |
|---|---|
"e2s" | End-to-Start — target starts after source ends (most common) |
"s2s" | Start-to-Start — target starts when source starts |
"s2e" | Start-to-End — target ends when source starts |
"e2e" | End-to-End — target ends when source ends |
Delay (in days) between the source event and the target event. A positive value adds
a gap; a negative value creates overlap (lead time).