SchedulerRegions

Properties

2
isSchedulerRegions: Boolean= truereadonly
Identifies an object as an instance of SchedulerRegions class, or subclass thereof.
isSchedulerRegions: Boolean= truereadonlystatic
Identifies an object as an instance of SchedulerRegions class, or subclass thereof.

Functions

3

Get the region for a specified resources specified event.

ParameterTypeDescription
eventRecordEventModel
resourceRecordResourceModel
includeOutsideBoolean

Specify true to get boxes for events outside of the rendered zone in both dimensions. This option is used when calculating dependency lines, and we need to include routes from events which may be outside the rendered zone.

Returns: Rectangle

Gets the region, relative to the timeline view element, representing the passed resource and optionally just for a certain date interval.

ParameterTypeDescription
resourceRecordResourceModel

The resource record

startDateDate

A start date constraining the region

endDateDate

An end date constraining the region

Returns: Rectangle -

A Rectangle which encapsulates the resource time span

Gets the region represented by the schedule and optionally only for a single resource. The view will ask the scheduler for the resource availability by calling getResourceAvailability. By overriding that method you can constrain events differently for different resources.

ParameterTypeDescription
resourceRecordResourceModel

(optional) The resource record

eventRecordEventModel

(optional) The event record

Returns: Rectangle -

The region of the schedule