Mohamed Abed
Mohamed Abed

Reputation: 5113

kendoui scheduler get resource by position

I am trying to support drag drop to kendoui scheduler from external draggable object.

Using scheduler.view().content.kendoDropTargetArea I manage to support drop and given the offset I can get the timeSlot (scheduler.slotByPosition) which includes start and end.

The problem is that I am using multi-resources and want to get the resource for that slot/offset.

Is there any way to get a resource by position?

Upvotes: 0

Views: 644

Answers (1)

Jaanus
Jaanus

Reputation: 16531

This works perfect for me.

var resource = scheduler.resourcesBySlot(slot);

Upvotes: 1

Related Questions