SchedulerDom

Properties

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

Functions

7

Returns a single HTMLElement representing an event record assigned to a specific resource.

ParameterTypeDescription
assignmentRecordAssignmentModel

An assignment record

Returns: HTMLElement -

The element representing the event record

Returns a single HTMLElement representing an event record assigned to a specific resource.

ParameterTypeDescription
eventRecordEventModel

An event record

resourceRecordResourceModel

A resource record

Returns: HTMLElement -

The element representing the event record

Returns all the HTMLElements representing an event record.

ParameterTypeDescription
eventRecordEventModel

An event record

resourceRecordResourceModel

A resource record

Returns: HTMLElement[] -

The element(s) representing the event record

Returns an assignment record for a DOM element

ParameterTypeDescription
elementHTMLElement

The DOM node to lookup

Returns: AssignmentModel -

The assignment record

Returns the event record for a DOM element

ParameterTypeDescription
elementOrEventHTMLElement | Event

The DOM node to lookup

Returns: EventModel -

The event record

Resolves the resource based on a dom element or event. In vertical mode, if resolving from an element higher up in the hierarchy than event elements, then it is required to supply coordinates since resources are virtual columns.

ParameterTypeDescription
elementOrEventHTMLElement | Event

The HTML element or DOM event to resolve a resource from

xyNumber[]

X and Y coordinates, required in some cases in vertical mode, disregarded in horizontal

Returns: ResourceModel -

The resource corresponding to the element, or null if not found.

Product agnostic method which yields the ResourceModel record which underpins the row which encapsulates the passed element. The element can be a grid cell, or an event element, and the result will be a ResourceModel

ParameterTypeDescription
elementOrEventHTMLElement | Event

The HTML element or DOM event to resolve a record from

Returns: ResourceModel -

The resource corresponding to the element, or null if not found.