SchedulerItemProps
Represents the props of the Kendo UI for Vue SchedulerItem component.
Definition
Package:@progress/kendo-vue-scheduler
Properties
className?
string
Specifies the className attribute of the wrapping element of the SchedulerItem.
The SchedulerItem applies the following default className:
k-eventk-selected- ifprops.selectedis set totruek-event-drag-hint- ifprops.dragHintis set totruek-scheduler-marquee- ifprops.resizeHintis set totruek-marquee: ifprops.resizeHintis set totruek-first: ifprops.resizeHintis set totrueandprops.tailis set tofalsek-last: ifprops.resizeHintis set totrueandprops.headis set tofalse
dataItem
any
Represents the original DataItem from which the item was created.
For more information about the data collection, refer to the Scheduler Data Binding article.
description
string
The description of the item.
dragHint?
boolean
Specifies if the current SchedulerItem is used as a DragHint.
editable?
boolean | EditableProp
Overrides the editable prop of the Scheduler and the active view.
end
Date
The end date of the item.
endTimezone
string
The timezone name for the end date.
format?
string
Specifies the format in which the zonedStart and zonedEnd properties are displayed.
For more information, refer to the formatDate method of the IntlService.
head
boolean
Represents if the end of the item is outside the current visual range.
id?
string
Specifies the id of the wrapping element of the SchedulerItem.
isAllDay
boolean
Represents if the item durations is through the whole day.
isException
boolean
Represents if the item is an exception to a recurrence rule.
isRecurring
boolean
Represents if the item is a single occurrence of a recurring DataItem.
itemRef?
any
Represents the ref of the actual item.
itemStyle?
any
Specifies the style object of the wrapping element of the SchedulerItem.
The SchedulerItem applies the following default styles:
cursor:pointeruserSelect:noneborderColor:props.colorborderColor:props.colorpointerEvents:none- ifprops.dragHintorprops.resizeHintis set totrue
onBlur?
(event: SchedulerItemFocusEvent) => void
Called each time the element, or any of its child elements, lose focus.
onClick?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements, is clicked.
onDoubleClick?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements, is double-clicked.
onDrag?
(event: SchedulerItemDragEvent) => void
Called each time the element is dragged.
This event is used by the Drag & Drop functionality of the SchedulerItem.
onFocus?
(event: SchedulerItemFocusEvent) => void
Called each time the element, or any of its child elements, receive focus.
onKeyDown?
(event: SchedulerItemKeyboardEvent) => void
Called each time a keydown event propagates to the wrapping element.
onKeyPress?
(event: SchedulerItemKeyboardEvent) => void
Called each time a keypress event propagates to the wrapping element.
onKeyUp?
(event: SchedulerItemKeyboardEvent) => void
Called each time a keyup event propagates to the wrapping element.
onMouseDown?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements resceives mousedown event.
onMouseEnter?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements receives mouseenter event.
onMouseLeave?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements receives mouseleave event.
onMouseOut?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements receives mouseout event.
onMouseOver?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements receives mouseover event.
onMouseUp?
(event: SchedulerItemMouseEvent) => void
Called each time the element, or any of its child elements resceives mouseup event.
onPress?
(event: SchedulerItemDragEvent) => void
Called each time the element receives a press event.
This event is used by the Drag & Drop functionality of the SchedulerItem.
onRelease?
(event: SchedulerItemDragEvent) => void
Called when the dragged element is being released.
This event is used by the Drag & Drop functionality of the SchedulerItem.
onRemoveClick?
(event: SchedulerItemMouseEvent) => void
Called when the delete icon is clicked.
The delete icon is rendered only when props.editable or props.editable.remove is true
onResizeEndDrag?
(event: SchedulerItemDragEvent) => void
Called each time the the resize handler responsible for the item end is being dragged.
This event is used by the Resize functionality of the SchedulerItem.
onResizePress?
(event: SchedulerItemDragEvent) => void
Called each time the any of the resize handlers receives a press event.
This event is used by the Resize functionality of the SchedulerItem.
onResizeRelease?
(event: SchedulerItemDragEvent) => void
Called when the dragged resize handler is being released
This event is used by the Resize functionality of the SchedulerItem.
onResizeStartDrag?
(event: SchedulerItemDragEvent) => void
Called each time the the resize handler responsible for the item start is being dragged.
This event is used by the Resize functionality of the SchedulerItem.
order
number
Represents the order of the item among its siblings.
originalStart
Date
Represents the original start of the item.
This property is being used when only a single occurrence of a recurring item is being edited.
range
Range
Represents the current range in which the item is rendered.
resizeHint?
boolean
Specifies if the current SchedulerItem is used as a ResizeHint.
selected?
boolean
Sets the selected state of the SchedulerSlot. By default the k-selected className is added if props.selected is true.
slots
Slot[]
A collection of all slots in which the current item fits.
start
Date
The start date of the item.
startTimezone
string
The timezone name for the start date.
tabIndex?
number
Specifies the tabIndex attribute of the wrapping element of the SchedulerItem.
Providing null will not apply any tabIndex to the element.
tail
boolean
Represents if the start of the item is outside the current visual range.
title
string
The title of the item.
vertical?
boolean
Specifies the orientation of the SchedulerItem.
zonedEnd
ZonedDate
Represents the end Date in the provided timezone.
For more information about timezones, refer to the Scheduler TImezones article.
zonedStart
ZonedDate
Represents the start Date in the provided timezone.
For more information about timezones, refer to the Scheduler TImezones article.