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.


<div id="scheduler"></div>
var currentTime = new Date();
var year = currentTime.getFullYear();
var month = currentTime.getMonth();
var day = currentTime.getDate();
var hour = currentTime.getHours();

  ongoingEvents: true,
  dataSource: [{
    id: 1,
    title: "test",
    start: new Date(year, month, day, hour - 1),
    end: new Date(year, month, day, hour + 1)
In this article