Example of undefined in React Gantt Component

/
/
SelfReferenceData

This sample demonstrates the way of binding self-referential flat data to the Gantt component.

More Details...

1
Project Schedule
2/5/20242/19/202411 days78
2
Planning
2/5/20242/12/20246 days75
3
Plan timeline
2/5/20242/12/20246 days60
4
Plan budget
2/5/20242/12/20246 days90
5
Allocate resources
2/5/20242/12/20246 days75
6
Planning complete
2/12/20242/12/20240 days3FS,4FS,5FS0
7
Design
2/13/20242/19/20245 days85
8
Software Specification
2/13/20242/15/20243 days6FS60
9
Develop prototype
2/13/20242/15/20243 days6FS100
10
Get approval from customer
2/16/20242/19/20242 days9FS100
11
Design complete
2/19/20242/19/20240 days10FS0
Project Schedule
Planning
Plan timeline
Plan budget
Allocate resources
Planning complete
Design
Software Specification
Develop prototype
Get approval from customer
Design complete
Description

Gantt can be bound either to local or remote data services. The dataSource property can be assigned either with the array of JavaScript objects or an instance of DataManager.

In this demo, the array of self-referential flat data with parentID is assigned as data source to the Gantt.

Gantt component 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.