Skip to main content

GanttTasksBuilder.DataSource Method

Name Parameters Description
DataSource(JS) js Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) data, key Binds Gantt tasks to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) configurator Binds Gantt tasks to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) staticJsonUrl, key Binds Gantt tasks to read-only data in JSON format.