GanttDom
Properties
2
Properties
2Functions
3
Functions
3Returns the HTMLElement representing a task record.
| Parameter | Type | Description |
|---|---|---|
taskRecord | TaskModel | A task record |
inner | Boolean | Specify |
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
| Parameter | Type | Description |
|---|---|---|
elementOrEvent | HTMLElement | 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
| Parameter | Type | Description |
|---|---|---|
element | HTMLElement | The DOM node to lookup |
Returns: TaskModel -
The task record