Example of undefined in Angular Gantt Component

This sample demonstrates how to visualize a list of tasks assigned to a resource within a collapsed parent row. It also allows modifying task scheduling actions such as dragging, left resizing, and progress editing while keeping the parent row collapsed. This functionality can be enabled by setting the enableMultiTaskbar property to true.

T-2
Identify site location
10.00 hours303/29/20241.25 days1
T-3
Perform soil test
20.00 hours304/1/20242.5 days2
T-4
Soil test approval
10.00 hours304/3/20241.25 days3
R-2
Rose Fuller
130.00 hours304/1/202413.25 days4
T-6
Develop floor plan for estimation
30.00 hours304/1/20243.75 days5
T-7
List materials
40.00 hours304/2/20245 days6
T-8
Estimation approval
60.00 hours304/8/20247.5 days7
T-10
Install temporary power service
112.00 hours304/1/202414 days9
T-11
Clear the building site
72.00 hours304/17/20249 days10
T-12
Sign contract
40.00 hours04/26/20245 days11
T-14
Excavate for foundations
16.00 hours304/1/20242 days13
T-15
Dig footer
16.00 hours04/4/20242 days14
T-16
Install plumbing grounds
16.00 hours304/8/20242 days15
R-5
Davolio Fuller
64.00 hours154/3/20248 days16
T-18
Add load-bearing structure
16.00 hours304/3/20242 days17
T-19
Natural gas utilities
32.00 hours04/5/20244 days18
T-20
Electrical utilities
16.00 hours304/11/20242 days19
Identify site location
Perform soil test
Soil test approval
Rose Fuller
Develop floor plan for estimation
List materials
Estimation approval
Install temporary power service
Clear the building site
Sign contract
Excavate for foundations
Dig footer
Install plumbing grounds
Davolio Fuller
Add load-bearing structure
Natural gas utilities
Electrical utilities
Description

This example demonstrates how to enable taskbar drag-and-drop functionality for reassigning tasks between resources vertically by setting the allowTaskbarDragAndDrop property to true. Additionally, you can prevent taskbar overlap within a resource's tasks by disabling the allowTaskbarOverlap property.

In this example, resources are assigned to tasks using predefined resource IDs, allowing efficient task distribution. The resource details are displayed using the labelSetting property. You can also perform CRUD operations on resource allocation using toolbar actions, considering availability and task complexity.

The resources and their assigned tasks are grouped into categories. Resources can be mapped using the following resourceFields:.

ID: Maps the resource ID.

Name: Maps the resource name.

Unit: Map the resource unit.

Group: Maps the resource group.

Injecting module:

The Gantt control features are segregated into individual feature-wise modules. To use a selection, markers, toolbar and edit inject the SelectionService , DayMarkersService , ToolbarService , EditService into the @NgModule.providers section respectively.