SchedulerTaskProps

Represents the props of the KendoReact SchedulerTask component.

NameTypeDefaultDescription

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

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

"null" | string

The description of the item.

editable?

boolean | EditableProp

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

end

Date

The end date of the item.

endTimezone

"null" | string

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.

itemRef

React.RefObject<undefined>

Represents the ref of the actual item.

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

"null" | number

Represents the order of the item among its siblings.

originalStart

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

slots

Slot[]

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

start

Date

The start date of the item.

startTimezone

"null" | string

The timezone name for the start date.

style?

React.CSSProperties

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

tabIndex?

"null" | number

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.

title

"null" | string

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.