New to Kendo UI for Vue? Start a free 30-day trial

CalendarCell

Component

Represents the Kendo UI for Vue CalendarCell component. Use the CalendarCell inside a custom cell template of the Calendar to keep the default cell markup and styles.

Definition

Package:@progress/kendo-vue-dateinputs

Properties Interface:CalendarCellProps

Syntax:

vue
<CalendarCell :value="cellProps.value" :is-selected="cellProps.isSelected" :is-today="cellProps.isToday" @click="handleClick">
    {{ cellProps.formattedValue }}
</CalendarCell>

Properties

The formatted text of the cell.

id

string

The id of the cell. The Calendar uses it as the aria-activedescendant value when the cell is focused.

When true, the cell is disabled.

isFocused

boolean

When true, the cell is focused.

isInRange

boolean

When true, the cell is inside the selected range.

isRangeEnd

boolean

When true, the cell is the end of the selected range.

isRangeMid

boolean

When true, the cell is between the start and the end of the selected range.

When true, the cell is the last date of the view and the selected range continues into the next view.

When true, the cell is the first date of the view and the selected range continues from the previous view.

When true, the cell is the start of the selected range.

isSelected

boolean

When true, the cell is selected.

isToday

boolean

When true, the cell date is today.

isWeekend

boolean

When true, the cell date is a Saturday or a Sunday.

title?

string

The title attribute of the cell.

value

Date

The date of the cell.

view?

number

The current view of the Calendar. The value is a CalendarViewEnum member.