ongoingEvents Boolean|Object
The settings for the ongoing events highlight. The highlight is disabled by default. If you need to turn it on, set this option to true
, or use a configuration object with its nested options.
Example
<div id="scheduler"></div>
<script>
var currentTime = new Date();
var year = currentTime.getFullYear();
var month = currentTime.getMonth();
var day = currentTime.getDate();
var hour = currentTime.getHours();
$("#scheduler").kendoScheduler({
ongoingEvents: true,
dataSource: [{
id: 1,
title: "test",
start: new Date(year, month, day, hour - 1),
end: new Date(year, month, day, hour + 1)
}]
});
</script>