AgendaColumn

A column that displays events for a day.

This is not intended to be used directly, it is used by the AgendaView which is a specialized Grid subclass.

Configs

80

Common

autoWidthColumn
fieldColumn
fitModeColumn
flexColumn
listenersEvents
maxWidthColumn
textColumn
widthColumn

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

Other

formulaColumn
pinnedColumn
readOnlyColumn

Rendering

cellClsColumn
clsColumn
iconColumn
rendererColumn
tooltipColumn

Summary

sumColumn
summariesColumn

Properties

150

Common

autoWidthColumn
fieldColumn
fitModeColumn
flexColumn
maxWidthColumn
textColumn
widthColumn

Class hierarchy

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

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

Other

$namestaticModel
defaultsColumn
elementColumn
formulaColumn
gridColumn
pinnedColumn
readOnlyColumn
relationsstaticModel
subGridColumn
typestaticColumn
visibleColumn

Parent & children

allChildrenTreeNode
childLevelTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode

Rendering

cellClsColumn
clsColumn
iconColumn
rendererColumn
tooltipColumn

Summary

sumColumn
summariesColumn

Functions

77

Other

Renderer that shows a list of events for a single date.

Note that all AgendaView columns are automatically set to autoHeight because an unpredictable number of events may appear in any cell.

ParameterTypeDescription
renderDataObject

Object containing renderer parameters

renderData.cellElementHTMLElement

Cell element, for adding CSS classes, styling etc. Can be null in case of export

renderData.value*

Value to be displayed in the cell

renderData.recordAgendaCell

A AgendaCell context object which contains contextual information about the date being rendered and an events property encapsulating all the events which coincide with the date.

renderData.columnColumn

This column

renderData.gridGrid

This grid

renderData.rowRow

Row object. Can be null in case of export. Use the row's API to manipulate CSS class names.

renderData.isExportBoolean

true if the record is being exported to Excel or a textual format, enabling special handling during export.

renderData.isMeasuringBoolean

True if the column is being measured for a resizeToFitContent call. In which case an advanced renderer might need to take different actions.

Returns: DomConfig | String | null
hideColumn
LstaticLocalizable
onEvents
relayAllEvents
showColumn
toggleColumn
triggerEvents
unEvents

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

Parent & children

appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
containsTreeNode
isExpandedTreeNode
removeChildTreeNode
traverseTreeNode

Events

5

Event handlers

5

Typedefs

3

An extension of Model which also includes the properties of a DayCell since AgendaColumn cells are backed by a data model.

ParameterTypeDescription
viewCalendarView

The owning view of the cell.

dateDate

The date of the cell.

keyString

a YYYY-MM-DD formatted date key for the cell.

cellIndexNumber

The overall cell index in the cell-based UI being created.

dayNumber

The day of week for the cell: 0=Sunday, 6=Saturday

columnIndexNumber

The column index in the cell-based UI being created.

visibleColumnIndexNumber

The visible column index (eg 0 for a Monday if Sunday is the week start day, but was hidden)

isNonWorkingBoolean

true if the owning view considers the date a non-working day.

weekNumber[]

The [year, week] encapsulating the cell.

isOtherMonthBoolean

The cell is outside the view's primary time range. Only significant when used by a CalendarPanel which encapsulates a single month.

visibleBoolean

true if the date cell is not for a hidden day.

tomorrowDate

The date of the following cell.

isRowStartBoolean

true if the cell is at the start of a visible row.

isRowEndBoolean

true if the cell is at the end of a visible row.

hasOverflowBoolean

true if the renderedEvents overflow the cell height and require a +n more button.

eventsEventModel[]

The events which are to be shown for this date.

resourceResourceModel

Note this only exists when the cell is owned by a subview of a ResourceView, or while creating resource columns in a DayResourceView.

renderedEventsEventBar[]

If this view renders event bars (MonthView, CalendarRow), then this is an array of event bar definitions which belong in the cell. Whether all can be rendered depends upon the view's configured eventHeight and whether the cell is of fixed height. The hasOverflow property is set if the rendered events overflow a cell's fixed capacity.

resourceDayEventsEventModel[]

The events for the passed resource for the day (applies in a DayResourceCalendarRow) column

timeRangesTimeRangeModel[]

All time ranges which intersect with this date cell, including short ones which are rendered.

allDayTimeRangesTimeRangeModel[]

The all day time ranges which intersect with the whole day of this date cell.