SchedulerResource

Defines a single resource configuration for the scheduler.

Props

The following table outlines the props for the SchedulerResource:

NameTypeDefaultDescription
colorField
string
null

Specifies the resource color field name.

cssClassField
string
null

Specifies the CSS class field name for the resource.

dataSource
Record<string, unknown[]> | DataManager
[ ]

Specifies the resource dataSource.

endHourField
string
'EndHour'

Maps the field name in the resource data source that sets the end time of the business hours range for each resource (e.g., '18:00' for 6 PM).

expandedField
string
undefined

Specifies the field name used to determine the initial expanded state of a resource in timeline resource grouping.

field
string
-

Specifies the field name to bind to the event object.

groupIDField
string
null

Specifies the parent group ID field name.

idField
string
-

Specifies the resource ID field name.

multiple
boolean
false

Specifies whether multiple resources can be selected.

name
string
-

Specifies the unique resource name.

startHourField
string
'StartHour'

Maps the field name in the resource data source that sets the start time of the business hours range for each resource (e.g., '09:00' for 9 AM).

textField
string
-

Specifies the resource text field name.

title
string
-

Specifies the title of the resource field for the editor window.