ongoingEvents.updateInterval Number
(default: 60000)
The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000
(a minute).
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: {
enabled: true,
updateInterval: 60 * 60 * 1000 // one hour interval
},
dataSource: [{
id: 1,
title: "test",
start: new Date(year, month, day, hour - 1),
end: new Date(year, month, day, hour + 1)
}]
});
</script>