Gantt
CompleteA project plan: a task list on the left, bars on a time scale on the right, with subtasks, progress, milestones and finish-to-start dependencies.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
AutoSchedule | bool | Moves dependent tasks when a task is moved or resized. |
Class | string | Extra CSS classes added to the root element. |
Columns | IEnumerable<GanttColumn> | Column definitions: DataGridColumn elements. |
Editable | bool | Lets users edit the cells of the column by clicking them. |
End | DateTime? | Last day shown (by default a little after the latest task). |
Label | string | Visible label text (charts: accessible name; IconButton: accessible name and tooltip). |
ListWidth | string | Width of the task list, for example 20rem (it narrows by itself on small screens). |
RowHeight | int | Row height in pixels when VirtualScroll is on (default 44). |
Scale | GanttScale | Width of a day on the time scale: Day, Week or Month. |
SelectedId | string | Id of the selected task. Use with @bind-SelectedId. |
ShowCriticalPath | bool | Marks the tasks with no slack in the plan (critical path). |
ShowDates | bool | Shows the start and end columns in the task list (default true). |
ShowResource | bool | Shows the resource column when tasks have resources (default true). |
ShowToday | bool | Draws a line at today's date. |
ShowToolbar | bool | Shows the toolbar with the column chooser and CSV export. |
Start | DateTime? | First day shown (by default a little before the earliest task). |
Style | string | Inline style added to the root element. |
Tasks | IEnumerable<GanttTask> | The tasks. They are changed in place when a bar is moved. |
Events
| Event | Type | Description |
|---|---|---|
ScaleChanged | EventCallback<GanttScale> | |
SelectedIdChanged | EventCallback<string> | |
TaskChanged | EventCallback<GanttTask> | Raised after a task's dates changed by dragging or with the keyboard. |
Package
Gantt is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.
Send feedbackVersion 1.0.3