This demo shows the way of binding an array of JavaScript objects (local JSON datasource) to Gantt.
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, an array of JavaScript objects 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.