ScaleColumn

A specialized column showing a graduated scale from a defined array of values and labels. This column is used in the TimelineHistogram and is not editable. Normally you should not need to interact with this class directly.

Configs

81

Common

field: String= "scalePoints"Also a property

The name of the data model field to read scale point values from.

autoWidthColumn
fitModeColumn
flexColumn
listenersEvents
maxWidthColumn
textColumn
widthColumn

Other

Array of objects representing scale points. If not provided the column will try reading points from the displayed record field (scalePoints field by default).

new TimelineHistogram({
    columns : {
        type        : 'scale',
        scalePoints : [
            { text : '8h', value : 8 },
            { text : '16h', value : 16 },
            { text : '24h', value : 24 }
        ]
    }
})
formulaColumn
pinnedColumn
readOnlyColumn

Accessibility

ariaLabelColumn

Export

Integration

vueColumn

Interaction

collapsedColumn
draggableColumn
editorColumn
groupableColumn
hideableColumn
resizableColumn
sealedColumn
sortableColumn

Layout

alignColumn
hiddenColumn
lockedColumn
minWidthColumn
regionColumn

Menu

Merge cells

mergeableColumn

Misc

localeClassLocalizable
localizableLocalizable
tagsColumn
treeColumn

Rendering

cellClsColumn
clsColumn
iconColumn
rendererColumn
tooltipColumn

Summary

sumColumn
summariesColumn

Properties

151

Common

field: String= "scalePoints"readonlyAlso a config

The name of the data model field to read scale point values from.

autoWidthColumn
fitModeColumn
flexColumn
maxWidthColumn
textColumn
widthColumn

Class hierarchy

isScaleColumn: Boolean= truereadonly
Identifies an object as an instance of ScaleColumn class, or subclass thereof.
isScaleColumn: Boolean= truereadonlystatic
Identifies an object as an instance of ScaleColumn class, or subclass thereof.
isColumnColumn
isEventsEvents
isLocalizableLocalizable
isModelModel
isModelLinkModelLink
isModelStmModelStm
isTreeNodeTreeNode

Other

Array of objects representing scale points. If not provided the column will try reading points from the displayed record field (scalePoints field by default).

new TimelineHistogram({
    columns : {
        type        : 'scale',
        scalePoints : [
            { text : '8h', value : 8 },
            { text : '16h', value : 16 },
            { text : '24h', value : 24 }
        ]
    }
})
$namestaticModel
defaultsColumn
elementColumn
formulaColumn
gridColumn
pinnedColumn
readOnlyColumn
relationsstaticModel
subGridColumn
typestaticColumn
visibleColumn

Accessibility

ariaLabelColumn

Editing

copyOfModel
isValidModel

Export

Fields

allFieldsstaticModel
autoExposeFieldsstaticModel
childrenFieldstaticModel
fieldMapstaticModel
fieldsstaticModel
idFieldstaticModel

Grouping

Identification

keyModel

Integration

vueColumn

Interaction

collapsedColumn
draggableColumn
editorColumn
groupableColumn
hideableColumn
resizableColumn
sealedColumn
sortableColumn

JSON

jsonModel

Layout

alignColumn
hiddenColumn
lockedColumn
minWidthColumn
regionColumn

Lifecycle

configBase

Linked records

hasLinksModelLink
isLinkedModelLink
recordLinksModelLink

Menu

Merge cells

mergeableColumn

Misc

localeHelperLocalizable
localeManagerLocalizable
stmModelStm
tagsColumn
treeColumn

Parent & children

allChildrenTreeNode
childLevelTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode

Rendering

cellClsColumn
clsColumn
iconColumn
rendererColumn
tooltipColumn

Summary

sumColumn
summariesColumn

Functions

77

Configuration

applyDefaultsstaticBase

Editing

copyModel
getDataModel
removeModel
setModel

Events

Fields

addFieldstaticModel
getModel
processFieldstaticModel
removeFieldstaticModel

Identification

asIdstaticModel

JSON

toJSONModel

Lifecycle

destroystaticBase

Misc

equalsModel
initClassstaticBase
isOfTypeNamestaticBase
linkModelLink
mixinstaticBase
optionalLstaticLocalizable

Other

hideColumn
LstaticLocalizable
onEvents
relayAllEvents
showColumn
toggleColumn
triggerEvents
unEvents

Parent & children

appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
containsTreeNode
isExpandedTreeNode
removeChildTreeNode
traverseTreeNode

Events

5

Event handlers

5

Typedefs

3

An object representing a point on the scale displayed by ScaleColumn.

ParameterTypeDescription
valueNumber

Scale point value

textString

Scale point label (if not provided the point won't display a label)

unitString

Scale point value unit. This is used by the resource histogram and resource utilization views to match histogram bar values expressed in milliseconds to the scale. Please note The views read a scale unit to use from the last scale point of the provided scalePoints array. All points in the array are meant to use the same unit value.