DayViewComponent

The component for rendering the Day view.

Selector

kendo-scheduler-day-view

Inputs

currentTimeMarker

boolean | CurrentTimeSettings

Specifies the settings for the current time marker of the Scheduler.

endTime

string

The end time of the view. The Scheduler displays events which end before the end time. Accepts string values in the HH:mm format.

eventClass

(args: EventStyleArgs) => any

Defines a function that is executed for every event in the view. The function returns a value which is supported by ngClass.

eventHeight

number

The height of the events.

eventStyles

(args: EventStyleArgs) => any

Defines a function that is executed for every event in the view. The function returns a value which is supported by ngStyle.

scrollTime

string

The time to which the view will initially be scrolled. Accepts string values in the HH:mm format or a JavaScript Date.

selectedDateFormat

string

The long-date format for displaying the selected date in the Scheduler toolbar. Defaults to {0:D} (more information).

selectedShortDateFormat

string

The short-date format for displaying the selected date in the Scheduler toolbar. Defaults to {0:D} (more information).

showWorkHours

boolean

If set to true, the view will be initially shown in the business-hours mode. By default, the view is displayed in the full-day mode.

slotClass

(args: SlotClassArgs) => any

Defines a function that is executed for every slot in the view. The function returns a value which is supported by ngClass.

For more information, refer to the example on setting the class callback for all views in SchedulerComponent.slotClass.

slotDivisions

number

The number of divisions of the time slots.

slotDuration

number

The duration (in minutes) of the time slots.

slotFill

number

Numeric value between 0 and 1 that specifies what percentage of the slot should be filled by the events.

Defaults to 0.9 (90% fill).

startTime

string

The start time of the view. The Scheduler displays events which start after the start time. Accepts string values in the HH:mm format.

workDayEnd

string

The end time of the view when showWorkHours is set to true. Accepts string values in the HH:mm format.

workDayStart

string

The start time of the view when showWorkHours is set to true. Accepts string values in the HH:mm format.

workWeekEnd

Day

The end of the work week.

workWeekStart

Day

The start of the work week.

Fields

name

string

The invariant name for this view (day).