ResourceModel
This class represents a single resource in your Gantt project.
If you want to add or change some fields, describing resources - subclass this class:
class MyResourceModel extends ResourceModel {
static get fields() {
return [
{ name: 'company', type: 'string' }
]
}
}
See also: AssignmentModel
Properties
69
Properties
69Class hierarchy
Identifies an object as an instance of ResourceModel class, or subclass thereof.
Identifies an object as an instance of ResourceModel class, or subclass thereof.
isGridRowModelGridRowModel
isModelModel
isModelLinkModelLink
isModelStmModelStm
isResourceModelMixinResourceModelMixin
isTreeNodeTreeNode
Editing
copyOfModel
isBatchUpdatingModel
isCommittingModel
isCreatingModel
isModifiedModel
isValidModel
modificationDataModel
modificationsModel
JSON
jsonModel
Parent & children
allChildrenTreeNode
allUnfilteredChildrenTreeNode
childLevelTreeNode
descendantCountTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode
previousSiblingTreeNode
previousSiblingsTotalCountTreeNode
visibleDescendantCountTreeNode
Scheduling
effectiveCalendarResourceModel
Functions
60
Functions
60Configuration
Editing
beginBatchModel
cancelBatchModel
clearChangesModel
copyModel
endBatchModel
getDataModel
getUnmodifiedModel
hasBatchedChangeModel
isFieldModifiedModel
removeModel
revertChangesModel
setModel
setAsyncResourceModelMixin
Events
detachListenersBase
Other
addRateTableResourceModel
getCalendarResourceModel
isEditableModel
removeRateTableResourceModel
setCalendarResourceModel
unassignAllResourceModelMixin
Parent & children
ancestorsExpandedTreeNode
appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
clearChildrenTreeNode
containsTreeNode
convertToParentTreeNode
getDescendantCountTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
replaceChildrenTreeNode
traverseTreeNode
traverseBeforeTreeNode
traverseWhileTreeNode
Typedefs
7
Typedefs
7AssignmentAllocationIntervalResourceModel
RelationConfigModel
ResourceAllocationResourceModel
ResourceAllocationInfoResourceModel
ResourceAllocationIntervalResourceModel
ResourceMarginConfigResourceModelMixin
TickInfoResourceModel