Hello Veselin Tsvetanov,
I'm using IE11 on Windows 10, as well as the user from the error report. I don't see anything similar to compatibility mode there, what should I try to change there https://www.screencast.com/t/Bo1kfaEHsQ ?
This is my code related to the scheduler:
<div id="calendar" class="calendar" kendo-custom-scheduler="schedulerWidget" k-options="calendarOptions"></div>
var dataSource = getCalendarDataSource();
$scope.calendarOptions = getCalendarOptions(dataSource);
function getCalendarDataSource () {
return new kendo.data.SchedulerDataSource({
transport: { read: readData },
schema: SCHEDULER_DATASOURCE_SCHEMA,
serverFiltering: false
});
}
var SCHEDULER_DATASOURCE_SCHEMA = {
model: {
id: "id",
fields: {
id: { from: "id" },
title: { from: "title" },
color: { from: "color" },
start: { type: "date", from: "start" },
end: { type: "date", from: "end" },
description: { from: "description" },
estWorkEfforts: { from: "estWorkEfforts" },
isAllDay: { from: "isAllDay", type: "boolean", defaultValue: "true" },
isOneDay: { from: "isOneDay", type: "boolean", defaultValue: "true" },
itemType: { from: "itemType" },
percentCompleted: { from: "percentCompleted" },
resolution: { from: "resolution" },
}
}
};
function readData (options) {
return options.success($scope.model.items);
}
function getCalendarOptions (dataSource) {
return {
mobile: false,
footer: false,
editable: false,
views: [
{ type: "workWeek", dateHeaderTemplate: $("#calendar-header-template").html(), allDayEventTemplate: $("#event-template").html() },
{ type: "week", dateHeaderTemplate: $("#calendar-header-template").html(), allDayEventTemplate: $("#event-template").html() },
{ type: "kendo.ui.CustomMonthView", title: "Month", selected: true, eventHeight: 18, eventTemplate: $("#event-template").html() }
],
dataSource: dataSource,
navigate: onSchedulerNavigate,
dataBinding: onDataBinding,
dataBound: onDataBound
};
}
function onSchedulerNavigate (event) {
var view = event.sender.view();
if (view.name !== 'month') {
updateDateDisplay(view);
}
$scope.$broadcast('scheduleChanged');
}
function onDataBinding (event) {
var view = event.sender.view();
view.times.hide();
view.timesHeader.hide();
return event;
}
function onDataBound (e) {
if (e.sender.viewName() == "week" || e.sender.viewName() == "workWeek") {
$("#calendar > table > tbody > tr:nth-child(2) > td:nth-child(2) > div.k-scheduler-content").height(1);
}
if (e.sender.viewName() == "month" && $("span.tt-today").length == 0) {
$("td.k-today").prepend('<span class="tt-today">' + commonRes.Today + '</span>');
}
}
Let me know if anything else can help.
Thanks!