slotByPosition

Get the time slot from given horizontal (x) and vertical (y) position.

Parameters

xPosition Number

The horizontal position.

yPosition Number

The vertical position.

Returns

Object The time slot.

Example - get slot and it's startDate and endDate

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6")
});
var scheduler = $("#scheduler").data("kendoScheduler");
var slot = scheduler.slotByPosition(100,100);

console.log("slot startDate: " + slot.startDate);
console.log("slot endDate: " + slot.endDate);
</script>
In this article
Not finding the help you need?