SchedulerViewTaskProps

Represents the props of the KendoReact [SchedulerViewTask]() component.

children? React.ReactNode

Specifies the children of the SchedulerTask.

Setting this property will override the default elements rendered by the SchedulerTask.

className? string

Specifies the className attribute of the wrapping element of the SchedulerTask.

The SchedulerSlot applies the following default className:

  • k-task

dataItem DataItem

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 | null

The description of the item.

editable? EditableProp | boolean

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

end Date

The end date of the item.

endTimezone string | null

The timezone name for the end date.

group Group

Represents the current group in which the item is rendered.

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 SchedulerTask.

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.

onRemoveClick? (event: SchedulerTaskMouseEvent) => void

Called when the delete icon is clicked.

The delete icon is rendered only when props.editable or props.editable.remove is true

order number | null

Represents the order of the item among its siblings.

originalStart Date | null

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.

slots Slot[]

A collection of all slots in which the current item fits.

start Date

The start date of the item.

startTimezone string | null

The timezone name for the start date.

style? CSSProperties

Specifies the style object of the wrapping element of the SchedulerTask.

tabIndex? number | null

Specifies the tabIndex attribute of the wrapping element of the SchedulerTask.

tail boolean

Represents if the start of the item is outside the current visual range.

task? React.ComponentType<SchedulerTaskProps>

Overrides the default component responsible for visualizing a single task.

The default Component is: SchedulerTask.

title string | null

The title of the item.

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.