Example of Self Reference Data in Javascript Gantt Control

/
/
Self Reference Data

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

More Details...

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