Edit this page

Kendo.Mvc.UI.Fluent.GanttResourcesSettingsBuilder

Defines the fluent API for configuring the GanttResourcesSettings settings.

Methods

DataFormatField(System.String)

The field of the resource data item containing the format of the resource value, which could be assigned to a gantt task. The data item format value could be any valid kendo format.

Parameters

value System.String

The value that configures the dataformatfield.

DataColorField(System.String)

The field of the resource data item which contains the resource color.

Parameters

value System.String

The value that configures the datacolorfield.

DataSource(System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyAjaxDataSourceBuilder<System.Object>>)

The data source which contains resource 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.ReadOnlyAjaxDataSourceBuilder>

The value that configures the datasource.

DataTextField(System.String)

The field of the resource data item which represents the resource text.

Parameters

value System.String

The value that configures the datatextfield.

Field(System.String)

The field of the gantt task which contains the assigned resource objects.

Parameters

value System.String

The value that configures the field.

BindTo(System.Collections.IEnumerable)

Binds the gantt resources to a list of objects

Parameters

dataSource System.Collections.IEnumerable

The dataSource