DependencyModel
This class represents a single dependency between the tasks in your Gantt project.
Subclassing the Dependency class
The name of any field in data can be customized in the subclass, see the example below.
class MyDependencyModel extends DependencyModel {
static get fields() {
return [
{ name: 'to', dataSource : 'targetId' },
{ name: 'from', dataSource : 'sourceId' }
];
}
}
Configs
1
Configs
1taskStorePartOfProject
Properties
74
Properties
74Class hierarchy
Identifies an object as an instance of DependencyModel class, or subclass thereof.
Identifies an object as an instance of DependencyModel class, or subclass thereof.
isDependencyBaseModelDependencyBaseModel
isModelModel
isModelLinkModelLink
isModelStmModelStm
isPartOfProjectPartOfProject
isTreeNodeTreeNode
Editing
copyOfModel
isBatchUpdatingModel
isCommittingModel
isCreatingModel
isModifiedModel
isPersistableDependencyBaseModel
isValidDependencyBaseModel
modificationDataModel
modificationsModel
JSON
jsonModel
Models & Stores
assignmentStorePartOfProject
calendarManagerStorePartOfProject
dependencyStorePartOfProject
eventStorePartOfProject
resourceStorePartOfProject
taskStorePartOfProject
Parent & children
allChildrenTreeNode
allUnfilteredChildrenTreeNode
childLevelTreeNode
descendantCountTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode
previousSiblingTreeNode
previousSiblingsTotalCountTreeNode
visibleDescendantCountTreeNode
Functions
63
Functions
63Configuration
Dependency
getHardTypeDependencyBaseModel
highlightDependencyBaseModel
isHighlightedWithDependencyBaseModel
setHardTypeDependencyBaseModel
setLagDependencyBaseModel
unhighlightDependencyBaseModel
Editing
beginBatchModel
cancelBatchModel
clearChangesModel
copyModel
endBatchModel
getDataModel
getUnmodifiedModel
hasBatchedChangeModel
isFieldModifiedModel
removeModel
revertChangesModel
setModel
setAsyncDependencyBaseModel
Events
detachListenersBase
Parent & children
ancestorsExpandedTreeNode
appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
clearChildrenTreeNode
containsTreeNode
convertToParentTreeNode
getDescendantCountTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
replaceChildrenTreeNode
traverseTreeNode
traverseBeforeTreeNode
traverseWhileTreeNode
Typedefs
2
Typedefs
2DependencyTypeDependencyBaseModel
RelationConfigModel