DayViewProps

Represents the properties of the DayView Component.

className? string

Sets a custom className to the wrapping element of the DayView.

defaultShowWorkHours? boolean

Sets the initial business-hour mode. Default true.

This option applies only the initial showWorkHours state.

editable? boolean

Overrides the general editable prop of the Scheduler for the specified view only.

endTime? string

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

id? string

Sets a custom id to the wrapping element of the DayView.

name? string

The name property is used by the Scheduler to match which view is selected. Every view has a default name.

numberOfDays? number

Specifies the number of days that the view will render. Defaults to 1.

selectedDateFormat? string

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

selectedShortDateFormat? string

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

showWorkHours? boolean

If set to true, the view will be shown in the business-hours mode only.

This will always override the internal showWorkHours state.

slotDivisions? number

The number of divisions of the time slots.

slotDuration? number

The duration (in minutes) of the time slots.

startTime? string

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

step? number

The number of steps (in days) to change, when using the back and forwards buttons in the toolbar navigation. The default value is 1 days.

style? CSSProperties

Sets a custom style property to the wrapping element of the DayView.

title? string | SchedulerViewTitleFunction

The title to be displayed in the view selection list in the Toolbar. If a function is passed, it will receive a [LocalizationService]({ slug api_intl_localizationservice }) as an argument

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.

 /