--- title: WorkWeekViewProps description: "Learn how to build custom functionality when working with the React Scheduler by Kendo UI with the help of the WorkWeekViewProps." api_reference: true type: inner_api slug: api_scheduler_workweekviewprops --- # WorkWeekViewProps Represents the properties of the KendoReact [WeekView](https://www.telerik.com/kendo-react-ui/components/scheduler/api/weekview) Component.
| Name | Type | Default | Description |
|---|---|---|---|
| #### className? |
string
|
Sets a custom `className` to the wrapping element of the `DayView`. | |
| #### currentTimeMarker? |
boolean
|
If set to `false` the "current time" marker of the scheduler would not be displayed. | |
| #### dateHeaderCell? |
React.ComponentType<[DateHeaderCellProps]({% slug api_scheduler_dateheadercellprops %})>
|
Represents component based on the DateHeaderCellProps. | |
| #### dateRange? |
DateRange | (args: [SchedulerViewDateRangeArgs]({% slug api_scheduler_schedulerviewdaterangeargs %})) => DateRange
|
Overrides the `dateRange` calculated by the `Scheduler` component. If a function is passed, an object of type [SchedulerViewDateRangeArgs](https://www.telerik.com/kendo-react-ui/components/scheduler/api/schedulerviewdaterangeargs) will be passed. | |
| #### 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. | |
| #### editItem? |
React.ComponentType<[SchedulerEditItemProps]({% slug api_scheduler_scheduleredititemprops %})>
|
Overrides the `editableItem` prop of the Scheduler for the specified view only. | |
| #### editSlot? |
React.ComponentType<[SchedulerEditSlotProps]({% slug api_scheduler_schedulereditslotprops %})>
|
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? |
React.ComponentType<[SchedulerFormProps]({% slug api_scheduler_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? |
React.ComponentType<[SchedulerItemProps]({% slug api_scheduler_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]({% slug api_scheduler_dataaction %})) => void
|
Called every time any of the SchedulerView Slots or Items trigger a data action, through editing, deleting or creating new `DataItem`. | |
| #### selectedDateFormat? |
string
|
The long-date format for displaying the selected date in the Scheduler toolbar. Defaults to `{0:D} - {1:D}` ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md)) | |
| #### selectedShortDateFormat? |
string
|
The short-date format for displaying the selected date in the Scheduler toolbar. Defaults to `{0:d} - {1-d}` ([more information](https://www.github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md)) | |
| #### 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. | |
| #### slot? |
React.ComponentType<[SchedulerSlotProps]({% slug api_scheduler_schedulerslotprops %})>
|
Overrides the `slot` prop of the Scheduler for the specified view only. | |
| #### 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 WeekView displays events which are visible after the start time. Accepts string values in the `HH:mm` format. | |
| #### style? |
React.CSSProperties
|
Sets a custom `style` property to the wrapping element of the `DayView`. | |
| #### timeHeaderCell? |
React.ComponentType<[TimeHeaderCellProps]({% slug api_scheduler_timeheadercellprops %})>
|
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](https://www.telerik.com/kendo-react-ui/components/intl/api/localizationservice) as an argument | |
| #### viewItem? |
React.ComponentType<[SchedulerViewItemProps]({% slug api_scheduler_schedulerviewitemprops %})>
|
Overrides the `viewItem` prop of the Scheduler for the specified view only. | |
| #### viewSlot? |
React.ComponentType<[SchedulerViewSlotProps]({% slug api_scheduler_schedulerviewslotprops %})>
|
Overrides the `viewSlot` prop of the Scheduler for the specified view only. | |
| #### 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. |