Edit this page

Kendo.Mvc.UI.Fluent.GanttAssignmentsSettingsBuilder

Defines the fluent API for configuring the GanttAssignmentsSettings settings.

Methods

DataSource(System.Action<Kendo.Mvc.UI.Fluent.GanttAssignmentsDataSourceBuilder<T>>)

The data source which contains assignment data items. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.

Parameters

value System.Action<Kendo.Mvc.UI.Fluent.GanttAssignmentsDataSourceBuilder>

The value that configures the datasource.

DataResourceIdField(System.String)

The field of the assignment data item which represents the resource id.

Parameters

value System.String

The value that configures the dataresourceidfield.

DataTaskIdField(System.String)

The field of the assignment data item which represents the task id.

Parameters

value System.String

The value that configures the datataskidfield.

DataValueField(System.String)

The field of the assignment data item which represents the amount of the assigned resource.

Parameters

value System.String

The value that configures the datavaluefield.

BindTo(System.Collections.IEnumerable)

Binds the gantt assignments to a list of objects

Parameters

dataSource System.Collections.IEnumerable

The dataSource