ResourceTickModel
This class represents a named resource tick. It is used by the TickCells feature.
This class inherits most of its fields from TimeSpan. The most important of these fields are the following:
- startDate - start date of the tick in the ISO 8601 format
- endDate - end date of the tick in the ISO 8601 format (not inclusive)
- duration - duration, time between start date and end date
- durationUnit - unit used to express the duration
It's an indirect subclass of Model. Please refer to documentation of those classes to become familiar with the base interface of this class. The data source of any field can be customized in the subclass. Please refer to Model for details.
const store = new ResourceTickStore({
data : [{ {
id : 1,
startDate : '2019-01-01T11:00',
value : 2,
resourceId : 1,
durationUnit : 'day',
duration : 1
}]
});
Properties
71
Properties
71Class hierarchy
Identifies an object as an instance of ResourceTickModel class, or subclass thereof.
Identifies an object as an instance of ResourceTickModel class, or subclass thereof.
isModelModel
isModelLinkModelLink
isModelStmModelStm
isTimeSpanTimeSpan
isTimeZonedDatesMixinTimeZonedDatesMixin
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
wbsCodeTimeSpan
Scheduling
datesTimeSpan
durationMSTimeSpan
isMilestoneTimeSpan
isScheduledTimeSpan
rawDurationMSTimeSpan
Functions
63
Functions
63Configuration
Editing
beginBatchModel
cancelBatchModel
clearChangesModel
copyModel
endBatchModel
getDataModel
getUnmodifiedModel
hasBatchedChangeModel
isFieldModifiedModel
removeModel
revertChangesModel
setModel
Events
detachListenersBase
Misc
animatePropertyBase
callbackBase
downloadTestCaseBase
equalsModel
exportToICSTimeSpan
linkModelLink
resolveCallbackBase
Parent & children
ancestorsExpandedTreeNode
appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
clearChildrenTreeNode
containsTreeNode
convertToParentTreeNode
getDescendantCountTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
replaceChildrenTreeNode
traverseTreeNode
traverseBeforeTreeNode
traverseWhileTreeNode
Scheduling
forEachDateTimeSpan
setDurationTimeSpan
setEndDateTimeSpan
setStartDateTimeSpan
setStartEndDateTimeSpan
splitTimeSpan
Typedefs
1
Typedefs
1RelationConfigModel
Fields
2
Fields
2resourceId: String | Number
Id of the resource this tick is associated with
value: Object | Number
Value of the resource tick