\Kendo\UI\SchedulerOngoingEvents

A PHP class representing the ongoingEvents setting of Scheduler.

Methods

cssClass

Specifies a custom CSS class applied to ongoing events. If not set, the default k-event-ongoing class will be applied.

Returns

\Kendo\UI\SchedulerOngoingEvents

Parameters

$value string

Example

<?php
$ongoingEvents = new \Kendo\UI\SchedulerOngoingEvents();
$ongoingEvents->cssClass('value');
?>

enabled

Specifies if the ongoing events will be highlighted. Defaults to false.

Returns

\Kendo\UI\SchedulerOngoingEvents

Parameters

$value boolean

Example

<?php
$ongoingEvents = new \Kendo\UI\SchedulerOngoingEvents();
$ongoingEvents->enabled(true);
?>

updateInterval

The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000 (a minute).

Returns

\Kendo\UI\SchedulerOngoingEvents

Parameters

$value float

Example

<?php
$ongoingEvents = new \Kendo\UI\SchedulerOngoingEvents();
$ongoingEvents->updateInterval(1);
?>

useLocalTimezone

If set to false the ongoing events will be highlighted in the scheduler timezone. That means only events that happen at the moment (according to their start and end data) will be highlighted. In order the highlight on the ongoing events to be visually in sync with the currentTimeMarker in the widget, the useLocalTimezone configuration options of both must be set to the same value. This way the highlighted ongoing events will be placed over the currentTimeMarker.

Returns

\Kendo\UI\SchedulerOngoingEvents

Parameters

$value boolean

Example

<?php
$ongoingEvents = new \Kendo\UI\SchedulerOngoingEvents();
$ongoingEvents->useLocalTimezone(true);
?>
In this article
Not finding the help you need?