[]
        
(Showing Draft Content)

SchedulerResourceDescriptor Interface

SchedulerResourceDescriptor Interface

Describes one resource collection and the event field it maps to.

Type parameters

  • T: object

Heirarchy

  • SchedulerResourceDescriptor

Properties

Optional allowMultiple

allowMultiple: boolean

Specifies whether an event can be assigned to more than one resource item. Each selected value can render in its matching resource section. When no resource axis is bound, the event remains a single projection.

Optional backgroundColorExpr

backgroundColorExpr: string

Specifies the resource field used as the event background color.

dataSource

dataSource: Partial<T>[] | ICollectionView<Partial<T>>

Specifies the resource items supplied as an array or ICollectionView.

Optional displayExpr

displayExpr: string

Specifies the resource field displayed to users. The default value is text.

fieldExpr

fieldExpr: string

Specifies the event field that stores the assigned resource value or values.

Optional foreColorExpr

foreColorExpr: string

Specifies the resource field used as the event foreground color.

Optional label

label: string

Specifies the user-facing resource label displayed by the event editor.

Optional valueExpr

valueExpr: string

Specifies the resource field used as its value. The default value is id.