New to Kendo UI for Vue? Start a free 30-day trial

Represents the props of the Kendo UI for Vue SchedulerEditSlot component.

Definition

Package:@progress/kendo-vue-scheduler

Properties

col

number

Sets the col of the SchedulerSlot in the active view. The SchedulerSlot uses this property for keyboard navigation between slots.

Overrides the editable prop of the Scheduler and the active view.

end

Date

The end date of the slot.

When you set it to false, the slot keeps its size and does not expand to fit the items inside it.

Overrides the default component responsible for visualizing the formItem.

The default Component is: SchedulerForm.

Setting this property will force the formItem to be in controlled state, allowing further customization.

The group in which the Scheduler shows the slot.

id?

string

Sets the id of the wrapping element of the SchedulerSlot.

index

number

The sequence number of the slot in the current range.

isAllDay?

boolean

Specifies if the slot is an all-day slot.

isWorkDay?

boolean

Specifies if the day of the SchedulerSlot (in the current timezone) is between the workDayStart and workDayEnd of the active view.

Default:

true

Specifies if the time of the SchedulerSlot (in the current timezone) is between the workDayStart and workDayEnd of the active view.

Default:

true

items

Item[]

The collection of all items that fit in the slot.

onBlur?

(event: SchedulerSlotFocusEvent) => void

Fires each time the element, or any of its child elements, loses focus.

Parameters:eventSchedulerSlotFocusEvent

onClick?

(event: SchedulerSlotMouseEvent) => void

Fires each time you click the element or any of its child elements.

Parameters:eventSchedulerSlotMouseEvent

onDataAction?

(action: DataAction, event: any) => void

Called when new item has been created in the slot.

Parameters:actionDataActioneventany

onDoubleClick?

(event: SchedulerSlotMouseEvent) => void

Fires each time you double-click the element or any of its child elements.

Parameters:eventSchedulerSlotMouseEvent

onFocus?

(event: SchedulerSlotFocusEvent) => void

Fires each time the element, or any of its child elements, receives focus.

Parameters:eventSchedulerSlotFocusEvent

onFormItemChange?

(event: any) => void

Called every time the formItem changes.

Parameters:eventany

onKeyDown?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keydown event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onKeyPress?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keypress event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onKeyUp?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keyup event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onMouseEnter?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseenter event.

Parameters:eventSchedulerSlotMouseEvent

onMouseLeave?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseleave event.

Parameters:eventSchedulerSlotMouseEvent

onMouseOut?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseout event.

Parameters:eventSchedulerSlotMouseEvent

onMouseOver?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseover event.

Parameters:eventSchedulerSlotMouseEvent

Fires whenever the quick-create draft changes.

Parameters:eventSchedulerQuickCreateFormStateChangeEvent​<any>
Example:
vue
<SchedulerEditSlot @quickcreateformitemchange="handleDraftChange" />

quickCreateForm?

string | Component​<SchedulerQuickCreateFormProps> | (createElement: (type: K, children: RawChildren) => VNode, defaultRendering: VNode​<RendererNode, RendererElement, { [key: string]: any }>, props: SchedulerQuickCreateFormProps) => VNodeChild

Overrides the quick-create form for this slot. Accepts a component, render function, or named slot.

Example:
vue
<SchedulerEditSlot :quick-create-form="'quickForm'" />

Controls the draft event displayed in the quick-create popover. Set to null to keep it closed.

Example:
vue
<SchedulerEditSlot :quick-create-form-item="null" />

range

Range

The range in which the Scheduler shows the slot.

row

number

Sets the row of the SchedulerSlot in the active view. The SchedulerSlot uses this property for keyboard navigation between slots.

selected?

boolean

Sets the selected state of the SchedulerSlot. When selected is true, the SchedulerSlot adds the k-selected class by default.

Overrides the default component that handles the view-specific features of the slot. Set it to a component or to the name of a slot template.

The default component is: SchedulerSlot.

start

Date

The start date of the slot.

tabIndex?

number

Sets the tabIndex attribute of the wrapping element of the SchedulerSlot.

When you set it to null, the SchedulerSlot does not apply a tabIndex to the element.

Overrides the default component responsible for view-specific functionality.

The default Component is: SchedulerViewSlot.

zonedEnd

ZonedDate

The end date in the provided timezone.

For more information about timezones, refer to the Scheduler Timezones article.

zonedStart

ZonedDate

The start date in the provided timezone.

For more information about timezones, refer to the Scheduler Timezones article.