Search results

Resources API in React Schedule API component

A class that represents the resource related configurations and its data binding options.

Properties

allowMultiple

boolean

When set to true, allows multiple selection of resource names, thus creating multiple instances of same appointment for the selected resources.

Defaults to false

colorField

string

It maps the color field from the dataSource, which is used to specify colors for the resources.

Defaults to ‘Color’

cssClassField

string

It maps the cssClass field from the dataSource, which is used to specify different styles to each resource appointments.

Defaults to ‘CssClass’

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.

Defaults to []

endHourField

string

It maps the endHour field from the dataSource, which is used to specify different work end hour for each resources.

Defaults to ‘EndHour’

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.

Defaults to ‘Expanded’

field

string

A value that binds to the resource field of event object.

Defaults to null

groupIDField

string

It maps the groupID field from the dataSource, which is used to specify under which parent resource, the child should be grouped.

Defaults to ‘GroupID’

idField

string

It maps the id field from the dataSource and is used to uniquely identify the resources.

Defaults to ‘Id’

name

string

It represents a unique resource name for differentiating various resource objects while grouping.

Defaults to null

query

Query

Defines the external query that will be executed along with the data processing.

Defaults to null

startHourField

string

It maps the startHour field from the dataSource, which is used to specify different work start hour for each resources.

Defaults to ‘StartHour’

textField

string

It maps the text field from the dataSource, which is used to specify the resource names.

Defaults to ‘Text’

title

string

It holds the title of the resource field to be displayed on the schedule event editor window.

Defaults to null

workDaysField

string

It maps the working days field from the dataSource, which is used to specify different working days for each resources.

Defaults to ‘WorkDays’