GanttDom

Properties

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

Functions

3

Returns the HTMLElement representing a task record.

ParameterTypeDescription
taskRecordTaskModel

A task record

innerBoolean

Specify false to return the task wrapper element

Returns: HTMLElement -

The element representing the task record

Product agnostic method which yields the TaskModel 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 TaskModel

ParameterTypeDescription
elementOrEventHTMLElement | Event

The HTML element or DOM event to resolve a record from

Returns: TaskModel -

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

Returns the task record for a DOM element

ParameterTypeDescription
elementHTMLElement

The DOM node to lookup

Returns: TaskModel -

The task record