DataSource
configurationThe data source of the widget which contains the tasks. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.GanttDataSource instance.
If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.GanttDataSource instance using that value as data source configuration.
If the dataSource option is an existing kendo.data.GanttDataSource instance the widget will use that instance and will not initialize a new one.
The Kendo UI Gantt widget can be bound only to a
kendo.data.GanttDataSource. An exception will be thrown if thedataSourceoption is set to akendo.data.DataSourceinstance.
dataSource
Object|Array|kendo.data.GanttDataSource