\Kendo\UI\DatePickerMonth

A PHP class representing the month setting of DatePicker.

Methods

content

Sets the HTML content of the DatePickerMonth.

Returns

DatePickerMonth

$value string

Example

<?php
$month = new \Kendo\UI\DatePickerMonth();
$month->content('<strong>Content</strong>');
?>

_empty

The template used for rendering cells in the "month" view, which are outside the min/max range.

Returns

\Kendo\UI\DatePickerMonth

Parameters

$value string

Example

<?php
$month = new \Kendo\UI\DatePickerMonth();
$month->_empty('value');
?>

weekNumber

The template to be used for rendering the cells in "week" column. By default, the widget renders the calculated week of the year. The properties available in the data object are: currentDate - returns the first date of the current week. or weekNumber - calculated week number.. These properties can be used in the template to make additional calculations.

Returns

\Kendo\UI\DatePickerMonth

Parameters

$value string

Example

<?php
$month = new \Kendo\UI\DatePickerMonth();
$month->weekNumber('value');
?>
In this article
Not finding the help you need?