New to KendoReactStart a free 30-day trial

Represents the properties of the KendoReact WeekView Component.

Definition

Package:@progress/kendo-react-scheduler

Properties

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

If set to false the "current time" marker of the scheduler would not be displayed.

Represents component based on the DateHeaderCellProps.

dateRange?

DateRange | (args: SchedulerViewDateRangeArgs) => DateRange

Overrides the dateRange calculated by the Scheduler component.

If a function is passed, an object of type SchedulerViewDateRangeArgs will be passed.

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.

Overrides the editableItem prop of the Scheduler for the specified view only.

Overrides the editSlot prop of the Scheduler for the specified view only.

endTime?

string

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

form?

ComponentType​<SchedulerFormProps>

Overrides the form prop of the Scheduler for the specified view only.

id?

string

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

item?

ComponentType​<SchedulerItemProps>

Overrides the item prop of the Scheduler for the specified view only.

name?

string

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

onDataAction?

(action: DataAction) => void

Called every time any of the SchedulerView Slots or Items trigger a data action, through editing, deleting or creating new DataItem.

Parameters:actionDataAction

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

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

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

This will always override the internal showWorkHours state.

slot?

ComponentType​<SchedulerSlotProps>

Overrides the slot prop of the Scheduler for the specified view only.

The number of divisions of the time slots.

The duration (in minutes) of the time slots.

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

style?

CSSProperties

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

Represents component based on the TimeHeaderCellProps.

title?

string | (localization: LocalizationService) => string

The title to be displayed in the view selection list in the Toolbar. If a function is passed, it will receive a LocalizationService as an argument

Overrides the viewItem prop of the Scheduler for the specified view only.

Overrides the viewSlot prop of the Scheduler for the specified view only.

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

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

The end of the work week.

The start of the work week.