Edit this page

slotByElement

Get the time slot from given element.

Parameters

element Element |jQuery

Returns

Object The time slot.

Example - save an new event

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6")
});
var scheduler = $("#scheduler").data("kendoScheduler");
var element = scheduler.view().content.find("tr:first td:first");
var slot = scheduler.slotByElement(element);

console.log("slot startDate: " + slot.startDate);
console.log("slot endDate: " + slot.endDate);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy