This sample demonstrates the way of binding self-referential flat data to the Gantt component.
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.