isAllDay Boolean
(default: false)
If set to true
the event is "all day". By default events are not all day.
Important: When
isAllDay
is set totrue
thestart
andend
fields must be set to the same date.
Example - create all day event
<script>
var event = new kendo.data.SchedulerEvent({
id: 1,
title: "Birthday",
start: new Date("2013/4/4 00:00"),
end: new Date("2013/4/4 00:00"),
isAllDay: true
});
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event.isAllDay); // outputs "true"
</script>