ResourcesModel
12 Sep 20251 minute to read
Interface for a class Resources
Properties
allowMultiple boolean
When set to true, allows multiple selection of resource names, thus creating multiple instances of same appointment for the
selected resources.
colorField string
It maps the color field from the dataSource, which is used to specify colors for the resources.
cssClassField string
It maps the cssClass field from the dataSource, which is used to specify different styles to each resource appointments.
dataSource Record[]|DataManager
Assigns the resource dataSource
The data can be passed either as an array of JavaScript objects,
or else can create an instance of DataManager
in case of processing remote data and can be assigned to the dataSource property.
With the remote data assigned to dataSource, check the available
adaptors to customize the data processing.
endHourField string
It maps the endHour field from the dataSource, which is used to specify different work end hour for each resources.
expandedField string
It maps the expanded field from the dataSource, which is used to specify whether each resource levels
in timeline view needs to be maintained in an expanded or collapsed state by default.
field string
A value that binds to the resource field of event object.
groupIDField string
It maps the groupID field from the dataSource, which is used to specify under which parent resource,
the child should be grouped.
idField string
It maps the id field from the dataSource and is used to uniquely identify the resources.
name string
It represents a unique resource name for differentiating various resource objects while grouping.
query Query
Defines the external query
that will be executed along with the data processing.
startHourField string
It maps the startHour field from the dataSource, which is used to specify different work start hour for each resources.
textField string
It maps the text field from the dataSource, which is used to specify the resource names.
title string
It holds the title of the resource field to be displayed on the schedule event editor window.
workDaysField string
It maps the working days field from the dataSource, which is used to specify different working days for each resources.