I have this code that loops through all row of the scheduler.
And about 1 in every 6 loops returns the same slot.
This has only been observed in ie11.
And about 1 in every 6 loops returns the same slot.
This has only been observed in ie11.
function
scrollTo(calendar, time) {
var
scrollContainer = calendar.element.find(
".k-scheduler-content"
);
var
table = scrollContainer.find(
".k-scheduler-table"
)[0];
var
length = table.rows.length;
for
(
var
i = 0; i < length; i++) {
var
ri = table.rows[i];
var
slotTime = kendo.toString(calendar.slotByElement(ri).startDate,
"h:mm tt"
);
if
(time == slotTime) {
scrollContainer[0].scrollTop = ri.offsetTop
return
;
}
}
}