This sample explains the way of rendering label template for left, right, and task labels by mapping template elements to the leftLabel, rightLabel and taskLabel properties in labelSettings.
ID | Name | Start Date | End Date | Duration | Dependency | Progress | Resources |
---|---|---|---|---|---|---|---|
1 | Project initiation | 4/2/2024 | 4/5/2024 | 4 days | 0 | ||
2 | Identify site location | 4/2/2024 | 4/2/2024 | 0 days | 30 | Martin Tamer | |
3 | Perform soil test | 4/2/2024 | 4/5/2024 | 4 days | 2FS | 0 | Rose Fuller,Margaret Buchanan,Davolio Fuller |
4 | Soil test approval | 4/5/2024 | 4/5/2024 | 0 days | 3FS | 30 | |
5 | Project estimation | 4/8/2024 | 4/15/2024 | 6 days | 15 | ||
6 | Develop floor plan for estimation | 4/8/2024 | 4/10/2024 | 3 days | 4FS | 30 | |
7 | List materials | 4/11/2024 | 4/15/2024 | 3 days | 6FS | 0 | Fuller King,Jack Davolio |
8 | Estimation approval | 4/15/2024 | 4/15/2024 | 0 days | 7FS | 0 | Construction Supervisor,Davolio Fuller |
9 | Sign contract | 4/16/2024 | 4/16/2024 | 1 day | 8FS | 30 | Construction Supervisor |
10 | Project approval and kick off | 4/16/2024 | 4/16/2024 | 0 days | 9FS | 0 | |
11 | Site work | 4/17/2024 | 4/22/2024 | 4 days | 15 | ||
12 | Clear the building site | 4/17/2024 | 4/18/2024 | 2 days | 9FS | 30 | |
13 | Install temporary power service | 4/19/2024 | 4/22/2024 | 2 days | 12FS | 0 |
Mar 24, 2024 | Mar 31, 2024 | Apr 07, 2024 | Apr 14, 2024 | Apr 21, 2024 | Apr 28, 2024 |
---|
S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F |
---|
In this demo, the label template is rendered using the leftLabel, rightLabel and taskLabel properties in labelSettings. Injecting Module: Gantt control features are segregated into individual feature-wise modules.To use a selection, inject the Selection module using the Gantt.Inject(Selection) method.To use markers, inject the DayMarkers module using the Gantt.Inject(DayMarkers) method.