|
1 |
| - <ejs-gantt id='Gantt' dataSource="ViewBag.DataSource" height="450px" timelineTemplate = "#TimelineTemplates"> |
2 |
| - <e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate" endDate="EndDate" duration="Duration" progress="Progress" child="SubTasks"> |
| 1 | + <ejs-gantt id='Gantt' dataSource="ViewBag.dataSource" height="450px" allowSelection="true" treeColumnIndex="1" |
| 2 | + projectStartDate="03/31/2024" projectEndDate="04/23/2024" timelineTemplate="#timelineTemplates"> |
| 3 | + <e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate" endDate="EndDate" duration="Duration" |
| 4 | + progress="Progress" dependency="Predecessor" child="SubTasks"> |
3 | 5 | </e-gantt-taskfields>
|
4 |
| - <e-gantt-splitterSettings columnIndex="1"></e-gantt-splitterSettings> |
5 |
| - <e-gantt-columns> |
6 |
| - <e-gantt-column field="TaskId" visible = false></e-gantt-column> |
7 |
| - <e-gantt-column field="TaskName" headerText="Name" width="250"></e-gantt-column> |
| 6 | + <e-gantt-columns> |
| 7 | + <e-gantt-column field="TaskId" visible=false></e-gantt-column> |
| 8 | + <e-gantt-column field="TaskName" width="300"></e-gantt-column> |
8 | 9 | <e-gantt-column field="StartDate"></e-gantt-column>
|
| 10 | + <e-gantt-column field="EndDate"></e-gantt-column> |
9 | 11 | <e-gantt-column field="Duration"></e-gantt-column>
|
10 | 12 | <e-gantt-column field="Progress"></e-gantt-column>
|
11 |
| - <e-gantt-column field="Predecessor"></e-gantt-column> |
12 | 13 | </e-gantt-columns>
|
13 |
| - <e-gantt-holidays> |
14 |
| - <e-gantt-holiday from="04/04/2019" to="04/04/2019" label="Local Holiday"></e-gantt-holiday> |
15 |
| - <e-gantt-holiday from="04/19/2019" to="04/19/2019" label="Good Friday"></e-gantt-holiday> |
16 |
| - <e-gantt-holiday from="04/30/2019" to="04/30/2019" label="Release Holiday"></e-gantt-holiday> |
17 |
| - </e-gantt-holidays> |
18 |
| - <e-gantt-labelSettings leftLabel="TaskName"></e-gantt-labelSettings> |
19 | 14 | <e-gantt-timelinesettings timelineUnitSize="100">
|
20 | 15 | <e-timelinesettings-toptier unit="Week" format="MMM dd, y"></e-timelinesettings-toptier>
|
21 | 16 | <e-timelinesettings-bottomtier unit="Day"></e-timelinesettings-bottomtier>
|
22 | 17 | </e-gantt-timelinesettings>
|
23 |
| - |
| 18 | + <e-gantt-labelSettings leftLabel="TaskName"></e-gantt-labelSettings> |
| 19 | + <e-gantt-splittersettings columnIndex="1"></e-gantt-splittersettings> |
| 20 | + <e-gantt-holidays> |
| 21 | + <e-gantt-holiday from="04/04/2019" to="04/04/2019" label="Local Holiday"></e-gantt-holiday> |
| 22 | + <e-gantt-holiday from="04/19/2019" to="04/19/2019" label="Public holiday"></e-gantt-holiday> |
| 23 | + </e-gantt-holidays> |
24 | 24 | </ejs-gantt>
|
25 | 25 | <script type="text/x-jsrender" id="TimelineTemplates">
|
26 | 26 | ${if(tier == 'topTier')}
|
|
0 commit comments