dojox.calendar
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

dojox.calendar.ColumnViewSecondarySheet

Object » dijit._WidgetBase » dojox.calendar.ViewBase » dojox.calendar.MatrixView » dojox.calendar.ColumnViewSecondarySheet

This class defines a matrix view designed to be embedded in a column view, usually to display long or all day events on one row.

dojox.calendar.MatrixView

Property Summary

Method Summary

Event Summary

Properties

_edProps
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
_gridProps
Defined by dijit._WidgetBase
_scrollProps
Defined by dijit._WidgetBase
renderData
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
The render data object contains all the data needed to render the widget.

Methods

__fixEvt
Overrides dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_applyRendererLayout
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
item
ir
cell
w
h
kind
_autoScroll
Defined by dijit._WidgetBase
ParameterTypeDescription
gx
gy
orientation
_buildColumnHeader
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates incrementally the HTML structure of the column header and configures its content.
ParameterTypeDescription
renderDataObjectThe render data to display.
oldRenderDataObjectThe previously render data displayed, if any.
_buildGrid
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates incrementally the HTML structure of the grid and configures its content.
ParameterTypeDescription
renderDataTherender data to display.
oldRenderDataThepreviously render data displayed, if any.
_buildItemContainer
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates the HTML structure of the item container and configures its content.
ParameterTypeDescription
renderDataTherender data to display.
oldRenderDataThepreviously render data displayed, if any.
_buildRowHeader
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates incrementally the HTML structure of the row header and configures its content.
ParameterTypeDescription
renderDataTherender data to display.
oldRenderDataThepreviously render data displayed, if any.
_cleanupRowHeader
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
_collapseRowImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
apply
_computeColHasHiddenItems
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
index
hOffsets
lOffsets
_computeHorizontalOverlapLayout
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
layoutItems
offsets
_computeItemEditingTimes
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
item
editKind
rendererKind
times
eventSource
_computeLabelOffsets
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
layoutItems
offsets
_computeRowsHeight
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
renderData
max
_createHorizontalLayoutItems
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
indexInteger
startTimeDate
endTimeDate
itemsObject[]
_createItemEditEvent
Defined by dijit._WidgetBase
_createLabelLayoutItems
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
indexInteger
startTimeDate
endTimeDate
itemsObject[]
_createRenderData
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates the object that contains all the data needed to render this widget.
_createRenderer
Defined by dijit._WidgetBase
Object tags protected
Creates an item renderer of the specified kind. A renderer is an object with the "container" and "instance" properties.
ParameterTypeDescription
itemObjectThe data item.
kindStringThe kind of renderer.
rendererClassObjectThe class to instanciate to create the renderer.
cssClass
_createRendering
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Creates the HTML structure (grid, place holders, headers, etc)
ParameterTypeDescription
renderDataObjectThe new render data
oldRenderDataObjectThe previous render data
_createStructure
Defined by dijit._WidgetBase
Creates the HTML structure (grid, place holders, headers, etc)
ParameterTypeDescription
rdObject
_defaultItemToRendererKindFunc
Overrides dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
item
_destroyExpandRenderer
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Destroys the expand renderer.
ParameterTypeDescription
rendererdojox.calendar._RendererMixinThe item renderer to destroy. tags protected
_destroyRenderer
Defined by dijit._WidgetBase
Destroys the item renderer.
ParameterTypeDescription
rendererdojox.calendar._RendererMixinThe item renderer to destroy. tags protected
_destroyRenderersByKind
Defined by dijit._WidgetBase
ParameterTypeDescription
kind
_dispatchCalendarEvt
Overrides dijit._WidgetBase
ParameterTypeDescription
e
name
_doEndItemEditing
Defined by dijit._WidgetBase
ParameterTypeDescription
obj
eventSource
_endItemEditing
Defined by dijit._WidgetBase
Leaves the item editing mode. item: Object The item that was edited.
ParameterTypeDescription
eventSourceString"mouse", "keyboard", "touch"
canceledBoolean
_endItemEditingGesture
Defined by dijit._WidgetBase
ParameterTypeDescription
eventSourceString
eEvent
_ensureItemInView
Defined by dijit._WidgetBase
Boolean Whether the item has been moved to be in view or not.
If needed, moves the item to be entirely in view.
ParameterTypeDescription
itemObjectThe item to test
_expandRowImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
size
layout
_findRenderItem
Defined by dijit._WidgetBase
ParameterTypeDescription
id
list
_formatColumnHeaderLabel
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Computes the column header label for the specified date. By default a formatter is used, optionally the <code>columnHeaderLabelLength</code> property can be used to specify the length of the string.
ParameterTypeDescription
dDateThe date to format
_formatGridCellLabel
Overrides dojox.calendar.ViewBase, dojox.calendar.MatrixView
Computes the column header label for the specified date. By default a formatter is used, optionally the <code>cellHeaderLongPattern</code> and <code>cellHeaderShortPattern</code> properties can be used to set a custom date pattern to the formatter.
ParameterTypeDescription
dDateThe date to format.
rowIntegerThe row that displays the current date.
colIntegerThe column that displays the current date.
_formatRowHeaderLabel
Overrides dojox.calendar.ViewBase, dojox.calendar.MatrixView
Computes the row header label for the specified time of day. By default the getWeekNumberLabel() function is called. The rowHeaderDatePattern property can be used to set a custom date pattern to the formatter.
ParameterTypeDescription
dDateThe date to format
_getCellAt
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
rowIndex
columnIndex
rtl
_getExpandRenderer
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
date
items
rowIndex
colIndex
expanded
_getExpandedHeight
_getFormatItemTimeFuncAttr
Defined by dijit._WidgetBase
_getRowHeight
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
index
_getSelectedItemAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_getSelectedItemsAttr
Defined by dijit._WidgetBase
_getSelectionModeAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_getStartEndRenderers
Defined by dijit._WidgetBase
Returns an array that contains the first and last renderers of an item that are currently displayed. They could be the same renderer if only one renderer is used.
ParameterTypeDescription
itemObjectThe render item. retunrs: Object[]
_getStoreAttr
Defined by dijit._WidgetBase
_isItemInView
Defined by dijit._WidgetBase
Boolean
Computes whether the specified item is entirely in the view or not.
ParameterTypeDescription
itemObjectThe item to test
_itemToRendererKind
Defined by dijit._WidgetBase
Returns String: String tags protected
Associates a kind of renderer with a data item.
ParameterTypeDescription
itemObjectThe data item.
_layoutExpandRendererImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
rowIndex
colIndex
items
expanded
_layoutExpandRenderers
Overrides dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
index
hasHiddenItems
hiddenItems
_layoutHorizontalItemsImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
index
layoutItems
hOverlapLayout
hasHiddenItems
hiddenItems
_layoutInterval
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Returns when row is expanded, layout only expanded row
For each item in the items list: retrieve a renderer, compute its location and size and add it to the DOM.
ParameterTypeDescription
renderDataObject
indexInteger
startDate
endDate
itemsObject[]
_layoutLabelItemsImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
index
layoutItems
hasHiddenItems
hiddenItems
hOffsets
_layoutPass1
Defined by dijit._WidgetBase
First pass of the overlap layout. Find a lane where the item can be placed or create a new one.
ParameterTypeDescription
layoutItemObjectAn object that contains a start and end properties at least.
lanesThearray of lanes. tags private
_layoutRenderers
Overrides dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Renders the data items. This method will call the _layoutInterval() method.
ParameterTypeDescription
renderData
_moveOrResizeItemGesture
Defined by dijit._WidgetBase
Moves or resizes an item.
ParameterTypeDescription
datesDate[]The reference dates. editKind: String Kind of edit: "resizeStart", "resizeEnd", "resizeBoth" or "move".
eventSourceString"mouse", "keyboard", "touch"
eEventThe event at the origin of the editing gesture.
_onGridClick
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onGridDoubleClick
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onGridMouseDown
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onGridMouseUp
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_onGridTouchEnd
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_onGridTouchMove
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onGridTouchStart
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemClick
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemDoubleClick
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemEditBegin
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemEditBeginGesture
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_onItemEditEnd
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemEditEndGesture
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemEditMoveGesture
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onItemEditResizeGesture
Defined by dijit._WidgetBase
ParameterTypeDescription
e
_onRenderersLayoutDone
Defined by dijit._WidgetBase
ParameterTypeDescription
view
_onRowHeaderClick
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_onScrollTimer_tick
Defined by dijit._WidgetBase
ParameterTypeDescription
pos
_overlapLayoutPass3
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Third pass of the overlap layout (optional). Compute the number of lanes used by sub interval.
ParameterTypeDescription
lanesObject[]The array of lanes. tags private
_recycleExpandRenderers
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
remove
_recycleItemRenderers
Defined by dijit._WidgetBase
ParameterTypeDescription
remove
_recycleRenderer
Defined by dijit._WidgetBase
Recycles the item renderer to be reused in the future.
ParameterTypeDescription
rendererdojox.calendar._RendererMixinThe item renderer to recycle. tags protected
remove
_refreshItemsRendering
Defined by dijit._WidgetBase
_resizeHander
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Refreshes and apply the row height according to the widget height.
ParameterTypeDescription
eEventThe resize event (optional)
applyBooleanWhether take into account the layoutDuringResize flag to relayout item while resizing or not.
_resizeRows
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Refreshes the height of the underlying HTML objects.
_resizeRowsImpl
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
tableNode
query
_roundItemToDay
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
item
_rowHeaderClick
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
e
_setColumnCountAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setEditingProperties
Defined by dijit._WidgetBase
Registers the editing properties used by the editing functions. This method should only be called by editing interaction mixins like Mouse, Keyboard and Touch.
ParameterTypeDescription
props
_setExpandRendererAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setHorizontalRendererAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setHoveredItem
Defined by dijit._WidgetBase
ParameterTypeDescription
item
renderer
_setItemsAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_setLabelRendererAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setRowCountAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setSelectedItemAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_setSelectedItemsAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_setSelectionModeAttr
Defined by dijit._WidgetBase
ParameterTypeDescription
value
_setStartDateAttr
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
value
_setText
Defined by dijit._WidgetBase
Creates a text node under the parent node after having removed children nodes if any.
ParameterTypeDescription
nodeNodeThe node that will contain the text node.
textStringThe text to set to the text node.
allowHTML
_sortItemsFunction
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
a
b
_startAutoScroll
Defined by dijit._WidgetBase
ParameterTypeDescription
step
_startItemEditing
Defined by dijit._WidgetBase
Configures the component, renderers to start one (mouse) of several (touch, keyboard) editing gestures.
ParameterTypeDescription
itemObjectThe item that will be edited.
eventSourceString"mouse", "keyboard", "touch"
_startItemEditingGesture
Defined by dijit._WidgetBase
Starts the editing gesture. date: Date[] The reference dates (at least one).
ParameterTypeDescription
dates
editKindStringKind of edit: "resizeBoth", "resizeStart", "resizeEnd" or "move".
eventSourceString"mouse", "keyboard", "touch"
eEventThe event at the origin of the editing gesture.
_stopAutoScroll
Defined by dijit._WidgetBase
_updateEditingCapabilities
Defined by dijit._WidgetBase
ParameterTypeDescription
item
renderer
_validateProperties
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Validates the widget properties before the rendering pass. tags protected
_waDojoxAddIssue
Defined by dijit._WidgetBase
Workaround an issue of dojox.date.XXXXX.date.add() function that does not support the subtraction of time correctly (normalization issues).
ParameterTypeDescription
d
unit
steps
applyRendererZIndex
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Applies the z-index to the renderer based on the state of the item. This methods is setting a z-index of 20 is the item is selected or edited and the current lane value computed by the overlap layout (i.e. the renderers are stacked according to their lane).
ParameterTypeDescription
itemObjectThe render item.
rendererObjectA renderer associated with the render item.
hoveredBooleanWhether the item is hovered or not.
selectedBooleanWhether the item is selected or not.
editedBooleanWhether the item is being edited not not.
focusedBooleanWhether the item is focused not not.
collapseRow
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Collapses the expanded row, if any.
ParameterTypeDescription
durationIntegerDuration in milliseconds of the optional animation.
easingFunctionEasing function of the optional animation.
apply
computeOverlapping
Defined by dijit._WidgetBase
Object
Computes the overlap layout of a list of items. A lane and extent properties are added to each layout item.
ParameterTypeDescription
layoutItemsObject[]List of layout items, each item must have a start and end properties. addedPass: Function Whether computes the extent of each item renderer on free sibling lanes.
func
computeProjectionOnDate
Defined by dijit._WidgetBase
Number
Computes the time to pixel projection in a day.
ParameterTypeDescription
renderDataObjectThe render data.
refDateDateThe reference date that defines the destination date.
dateDateThe date to project.
maxIntegerThe size in pixels of the representation of a day.
computeRangeOverlap
Defined by dijit._WidgetBase
Date[]
Computes the overlap time range of the time ranges. Returns a vector of Date with at index 0 the start time and at index 1 the end time.
ParameterTypeDescription
renderDataObject.The render data.
start1DateThe start time of the first time range.
end1DateThe end time of the first time range.
start2DateThe start time of the second time range.
end2DateThe end time of the second time range.
includeLimitsBooleanWhether include the end time or not.
constructor
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
argsObject
destroy
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
preserveDom
ensureMinimalDuration
Defined by dijit._WidgetBase
During the resize editing gesture, ensures that the item has the specified minimal duration.
ParameterTypeDescription
renderDataObjectThe render data.
itemObjectThe edited item.
unitStringThe unit used to define the minimal duration.
stepsIntegerThe number of time units.
editKindStringThe edit kind: "resizeStart" or "resizeEnd".
ensureVisibility
Defined by dijit._WidgetBase
Scrolls the view if the [start, end] time range is not visible or only partially visible.
ParameterTypeDescription
startDateStart time of the range of interest.
endDateEnd time of the range of interest.
marginintMargin in minutes around the time range.
visibilityTargetStringThe end(s) of the time range to make visible. Valid values are: "start", "end", "both".
durationNumberOptional, the maximum duration of the scroll animation.
expandEasing
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Easing function of the animation when expanding or collapsing a row (null by default).
expandRendererClickHandler
Overrides dojox.calendar.ViewBase, dojox.calendar.MatrixView
Default action when an expand renderer is clicked. This method will expand the secondary sheet to show all the events.
ParameterTypeDescription
eEventThe mouse event.
rendererObjectThe renderer that was clicked.
expandRow
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Expands the specified row.
ParameterTypeDescription
rowIndexIntegerThe index of the row to expand.
colIndexInteger
Optional.
The column index of the expand renderer that triggers the action, optional.
durationInteger
Optional.
Duration in milliseconds of the optional animation.
easingFunction
Optional.
Easing function of the optional animation.
apply
floorDate
Defined by dijit._WidgetBase
Date
floors the date to the unit.
ParameterTypeDescription
dateDateThe date/time to floor.
unitStringThe unit. Valid values are "minute", "hour", "day".
stepsIntegerFor "day" only 1 is valid.
reuseBooleanWhether use the specified instance or create a new one. Default is false.
floorToDay
Defined by dijit._WidgetBase
Date
Floors the specified date to the start of day.
ParameterTypeDescription
dateDateThe date to floor.
reuseBooleanWhether use the specified instance or create a new one. Default is false.
floorToMonth
Defined by dijit._WidgetBase
Date
Floors the specified date to the start of the date's month.
ParameterTypeDescription
dateDateThe date to floor.
reuseBooleanWhether use the specified instance or create a new one. Default is false.
getDateString
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
ParameterTypeDescription
d
getExpandedRowIndex
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Returns the index of the expanded row or -1 if there's no row expanded.
getIdentity
Defined by dijit._WidgetBase
ParameterTypeDescription
item
getRenderers
Defined by dijit._WidgetBase
Object[]
Returns the renderers that are currently used to displayed the speficied item. Returns an array of objects that contains two properties: container: The DOM node that contains the renderer. renderer: The dojox.calendar._RendererMixin instance. Do not keep references on the renderers are they are recycled and reused for other items.
ParameterTypeDescription
itemObjectThe data or render item.
getTime
Defined by dijit._WidgetBase, dojox.calendar.ViewBase, dojox.calendar.MatrixView
Date
Returns the time displayed at the specified point by this component.
ParameterTypeDescription
eEventOptional mouse event.
xNumberPosition along the x-axis with respect to the sheet container used if event is not defined.
yNumberPosition along the y-axis with respect to the sheet container (scroll included) used if event is not defined.
touchIndexIntegerIf parameter 'e' is not null and a touch event, the index of the touch to use.
getWeekNumberLabel
Defined by dijit._WidgetBase
Returns the week number string from dojo.date.locale.format() method as dojox.date.XXXX calendar are not supporting the "w" pattern.
ParameterTypeDescription
dateDateThe date to format.
invalidateLayout
Defined by dijit._WidgetBase
trigger a re-layout of the renderers.
isAscendantHasClass
Defined by dijit._WidgetBase
Boolean
Determines if a node has an ascendant node that has the css class specified.
ParameterTypeDescription
nodeNodeThe DOM node.
ancestorNodeThe ancestor node used to limit the search in hierarchy.
classNameStringThe css class name.
isItemBeingEdited
Defined by dijit._WidgetBase
Boolean
Returns whether an item is being edited or not.
ParameterTypeDescription
itemObjectThe item to test.
isItemEditable
Defined by dijit._WidgetBase
Boolean
Computes whether particular item renderer can be edited or not. By default it is using the editable property value.
ParameterTypeDescription
itemObjectThe item represented by the renderer.
rendererKindStringThe kind of renderer.
isItemFocused
Defined by dijit._WidgetBase
Boolean
Returns whether the specified item is focused or not.
ParameterTypeDescription
itemObjectThe item.
isItemHovered
Defined by dijit._WidgetBase
Boolean
Returns whether the specified item is hovered or not.
ParameterTypeDescription
itemObjectThe item.
isItemMoveEnabled
Defined by dijit._WidgetBase
Boolean
Computes whether particular item renderer can be moved. By default it is using the moveEnabled property value.
ParameterTypeDescription
itemObjectThe item represented by the renderer.
rendererKindStringThe kind of renderer.
isItemResizeEnabled
Defined by dijit._WidgetBase
Boolean
Computes whether particular item renderer can be resized. By default it is using the resizedEnabled property value.
ParameterTypeDescription
itemObjectThe item represented by the renderer.
rendererKindStringThe kind of renderer.
isItemSelected
Defined by dijit._WidgetBase
ParameterTypeDescription
item
isOverlapping
Defined by dijit._WidgetBase
Boolean
Computes if the first time range defined by the start1 and end1 parameters is overlapping the second time range defined by the start2 and end2 parameters.
ParameterTypeDescription
renderDataObjectThe render data.
start1DateThe start time of the first time range.
end1DateThe end time of the first time range.
start2DateThe start time of the second time range.
end2DateThe end time of the second time range.
includeLimitsBooleanWhether include the end time or not.
isSameDay
Defined by dijit._WidgetBase
Boolean
Tests if the specified dates are in the same day.
ParameterTypeDescription
date1DateThe first date.
date2DateThe second date.
isStartOfDay
Defined by dijit._WidgetBase
Boolean
Tests if the specified date represents the starts of day.
ParameterTypeDescription
dDateThe date to test.
isToday
Defined by dijit._WidgetBase
Boolean
Returns whether the specified date is in the current day.
ParameterTypeDescription
dateDateThe date to test. renderData: Object The current renderData
isWeekEnd
Defined by dijit._WidgetBase
Determines whether the specified date is a week-end. This method is using dojo.date.locale.isWeekend() method as dojox.date.XXXX calendars are not supporting this method.
ParameterTypeDescription
dateDateThe date to test.
itemToRendererKindFunc
Defined by dijit._WidgetBase
An optional function to associate a kind of renderer ("horizontal", "label" or null) with the specified item. By default, if an item is lasting more that 24 hours an horizontal item is used, otherwise a label is used.
layoutExpandRenderer
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
The renderer used in specified cell that indicates that some items cannot be displayed.
ParameterTypeDescription
rendererObjectThe renderer used in specified cell that indicates that some items cannot be displayed.
dateDateThe date displayed by the cell.
itemsObject[]The list of non visible items.
cellPositionObjectAn object that contains the position (x and y properties) and size of the cell (w and h properties).
height
layoutPriorityFunction
Defined by dijit._WidgetBase
An optional comparison function use to determine the order the item will be laid out The function is used to sort an array and must, as any sorting function, take two items as argument and must return an integer whose sign define order between arguments. By default, a comparison by start time then end time is used.
newDate
Defined by dijit._WidgetBase
Date
Creates a new Date object.
ParameterTypeDescription
objObjectThis object can have several values: the time in milliseconds since gregorian epoch. a Date instance
postCreate
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
refreshRendering
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
resize
Defined by dijit._WidgetBase
scrollView
Defined by dijit._WidgetBase
If the view is scrollable, scrolls it to the specified direction.
ParameterTypeDescription
dirIntegerDirection of the scroll. Valid values are -1 and 1.
selectFromEvent
Defined by dijit._WidgetBase
ParameterTypeDescription
e
item
renderer
dispatch
setItemSelected
Defined by dijit._WidgetBase
ParameterTypeDescription
item
value
styleColumnHeaderCell
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Styles the CSS classes to the node that displays a column header cell. By default this method is setting the "dojoxCalendarWeekend" if the day of week represents a weekend.
ParameterTypeDescription
nodeNodeThe DOM node that displays the column in the grid.
dateDateThe date displayed by this column
renderDataObjectThe render data.
styleGridCell
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Styles the CSS classes to the node that displays a column. By default this method is setting the "dojoxCalendarToday" class name if the date displayed is the current date, "dojoxCalendarWeekend" if the date represents a weekend or "dojoxCalendarDayDisabled" if the date is out of the [refStartTime, refEndTime] interval.
ParameterTypeDescription
nodeNodeThe DOM node that displays the column in the grid.
dateDateThe date displayed by this column
renderDataObject
styleRowHeaderCell
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Styles the CSS classes to the node that displays a row header cell. By default this method is doing nothing.
ParameterTypeDescription
nodeNodeThe DOM node that displays the column in the grid.
dateDateThe date in the week.
renderDataObjectThe render data.
updateRenderers
Defined by dijit._WidgetBase
Updates all the renderers that represents the specified item(s).
ParameterTypeDescription
objObjectA render item or an array of render items.
stateOnlyBooleanWhether only the state of the item has changed (selected, edited, edited, focused) or a more global change has occured.

Events

onExpandAnimationEnd
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Event dispatched at the end of an expand or collapse animation.
ParameterTypeDescription
expandBooleanWhether the finished animation was an expand or a collapse animation.
onGridClick
Defined by dijit._WidgetBase
Event dispatched when the grid has been clicked.
ParameterTypeDescription
e
onGridDoubleClick
Defined by dijit._WidgetBase
Event dispatched when the grid has been double-clicked.
ParameterTypeDescription
e
onItemClick
Defined by dijit._WidgetBase
Event dispatched when an item renderer has been clicked.
ParameterTypeDescription
e
onItemDoubleClick
Defined by dijit._WidgetBase
Event dispatched when an item renderer has been double-clicked.
ParameterTypeDescription
e
onItemEditBegin
Defined by dijit._WidgetBase
Event dispatched when the item is entering the editing mode.
ParameterTypeDescription
e
onItemEditBeginGesture
Defined by dijit._WidgetBase
Event dispatched when an editing gesture is beginning.
ParameterTypeDescription
e
onItemEditEnd
Defined by dijit._WidgetBase
Event dispatched when the item is leaving the editing mode.
ParameterTypeDescription
e
onItemEditEndGesture
Defined by dijit._WidgetBase
Event dispatched at the end of an editing gesture.
ParameterTypeDescription
e
onItemEditMoveGesture
Defined by dijit._WidgetBase
Event dispatched during a move editing gesture.
ParameterTypeDescription
e
onItemEditResizeGesture
Defined by dijit._WidgetBase
Event dispatched during a resize editing gesture.
ParameterTypeDescription
e
onRendererCreated
Defined by dijit._WidgetBase
Event dispatched when an item renderer has been created.
ParameterTypeDescription
renderer
onRendererDestroyed
Defined by dijit._WidgetBase
Event dispatched when an item renderer is destroyed.
ParameterTypeDescription
renderer
onRendererRecycled
Defined by dijit._WidgetBase
Event dispatched when an item renderer has been recycled.
ParameterTypeDescription
renderer
onRendererReused
Defined by dijit._WidgetBase
Event dispatched when an item renderer that was recycled is reused.
ParameterTypeDescription
renderer
onRenderersLayoutDone
Defined by dijit._WidgetBase
Event triggered when item renderers layout has been done.
ParameterTypeDescription
view
onRowHeaderClick
Defined by dojox.calendar.ViewBase, dojox.calendar.MatrixView
Event dispatched when a row header cell is clicked.
ParameterTypeDescription
e