\Kendo\UI\DateTimePickerMonth

A PHP class representing the month setting of DateTimePicker.

Methods

content

Sets the HTML content of the DateTimePickerMonth.

Returns

DateTimePickerMonth

$value string

Example

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

_empty

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

Returns

\Kendo\UI\DateTimePickerMonth

Parameters

$value string

Example

<?php
$month = new \Kendo\UI\DateTimePickerMonth();
$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\DateTimePickerMonth

Parameters

$value string

Example

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