Resources
configurationThe configuration of the scheduler resource(s). A scheduler resource is optional metadata that can be associated with a scheduler event.
resources
Arrayresources.dataColorField
StringThe field of the resource data item which contains the resource color.
Default: "color"
The field of the resource data item which represents the parent resource item value where the current resource should be nested in. Used in hierarchical grouping scenarios where only part of the members of one resource should be grouped within a member of the previous (parent) resource.
Default: "parentValue"
resources.dataSource
Object|Array|kendo.data.DataSourceThe 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.
resources.dataTextField
StringThe field of the resource data item which represents the resource text.
Default: "text"
resources.dataValueField
StringThe field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource.
Default: "value"
resources.field
StringThe field of the scheduler event which contains the resource id.
resources.icon
StringThe name of the icon displayed instead of the resource text label in the desktop event editor. When the option is not set, the editor displays the resource title, or its existing field-name fallback.
resources.multiple
BooleanIf set to true the scheduler event can be assigned multiple instances of the resource. The scheduler event field specified via the field option will contain an array of resources.
By default only one resource instance can be assigned to an event.
Default: false
resources.name
StringThe name of the resource used to distinguish resource. If not set the value of the field option is used.
resources.title
StringThe user friendly title of the resource displayed in the scheduler edit form. If not set the value of the field option is used.
resources.valuePrimitive
BooleanSet to false if the scheduler event field specified via the field option contains a resource data item.
By default the scheduler expects that field to contain a primitive value (string, number) which corresponds to the "value" of the resource (specified via dataValueField).
Default: true