New to KendoReact? Start a free 30-day trial

The CalendarWeekCell component is internally used for rendering the week cells inside the month view of the Calendar. Also used as a custom week cell for the Calendar and the MultiViewCalendar components.

Definition

Package:@progress/kendo-react-dateinputs

Properties Interface:CalendarWeekCellProps

Properties

children?

ReactNode

Child elements to render inside the week cell

CSS class name for styling the week cell

First date of the week represented by this cell

id?

string

Unique identifier for the week cell element

onClick?

(firstDate: Date, value: Date[], event: MouseEvent​<HTMLTableCellElement, MouseEvent>) => void

Click event handler for the week cell

Parameters:firstDateDatevalueDate[]eventMouseEvent​<HTMLTableCellElement, MouseEvent>

style?

CSSProperties

Inline styles applied to the week cell

value?

null | number

Week number value, null if not available

weekDays?

Date[]

Array of dates representing all days in the week