# Customization

The MultiViewCalendar enables the user to render custom components instead of the default ones and, in this way, to customize most of the child MultiViewCalendar components which are otherwise inaccessible.

The user can replace the following MultiViewCalendar components with custom ones:

* [`CalendarCell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/custom-rendering#cells-inside-the-view)—Renders the cells inside the Calendar view.
* [`CalendarWeekCell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/custom-rendering#cells-inside-the-week-column)—Renders the cells inside the Calendar week column.
* [`CalendarHeaderTitle`](https://www.telerik.com/kendo-react-ui/components/dateinputs/multiviewcalendar/custom-rendering#titles-of-current-views)—Renders the title for the current MultiViewCalendar view.

## Cells inside the View

You can customize or completely replace with a custom component each individual cell inside the MultiViewCalendar view by passing a [`cell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendarprops#cell) property to the MultiViewCalendar. The `cell` property accepts either a `Class` or `Function` React Component. Both `Class` and `Function` receive relevant information about the state of the cell through the [props of the Calendar](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarcellprops).

### Modifying the Cells

To modify an individual cell inside the MultiViewCalendar view, use the [`CalendarCell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarcell) component from the `@progress/kendo-date-dateinputs` package. `CalendarCell` will acquire custom behavior and will modify only some of the cells.

> For the `CalendarCell` component to work properly, pass back all properties.

```js
import { MultiViewCalendar, CalendarCell } from '@progress/kendo-react-dateinputs';
```

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/multiviewcalendar/custom/cell/func/source.txt)

### Overriding the Default Properties

The `cell` property allows you to pass any `<td />` element as a `CalendarCell`. This approach is useful for gaining full control over the cell because the `CalendarCell` component will render additional elements for the default styling.

> For the custom cell to allow date selection, manually pass or handle the `onClick` event.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/multiviewcalendar/custom/default/func/source.txt)

## Other Child Components

Similar to the `cell` property, the MultiViewCalendar allows you to modify or override other child element through its [`weekCell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendarprops#weekcell), [`headerTitle`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendarprops#headertitle).

```js
    import {
        CalendarCell,
        CalendarWeekCell,
        CalendarHeaderTitle
    } from '@progress/kendo-react-dateinputs';
```

### Cells inside the Week Column

The [`CalendarWeekCell`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarweekcell) component represents the week number. `CalendarWeekCell` is only visible in the `month` view of the MultiViewCalendar and if the [`weekNumber`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarprops#weeknumber) property is set to `true`. `CalendarWeekCell` will receive relevant information about its state through the [`CalendarWeekCellProps`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarweekcellprops).

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/multiviewcalendar/custom/weekCell/func/source.txt)

### Titles of Current Views

The [`CalendarHeaderTitle`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarheadertitle) component represents the title of the current MultiViewCalendar view and also functions as a button for changing the current view. `CalendarHeaderTitle` will receive relevant information about its state through the [`CalendarHeaderTitleProps`](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarheadertitleprops).

> For the `CalendarHeaderTitle` component to work properly, pass back all properties.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dateinputs/multiviewcalendar/custom/headerTitle/func/source.txt)

## Suggested Links

* [Customizing the DateRangePicker](https://www.telerik.com/kendo-react-ui/components/dateinputs/daterangepicker/custom-rendering)
* [API Reference of the MultiViewCalendar](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/multiviewcalendar)
* [API Reference of the CalendarCell](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarcell)
* [API Reference of the CalendarWeekCell](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarweekcell)
* [API Reference of the CalendarHeaderTitle](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/calendarheadertitle)
* [React Date Inputs](https://www.telerik.com/kendo-react-ui/components/dateinputs)
