This is a migrated thread and some comments may be shown as answers.

Identifying origin slot during move

1 Answer 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 27 Apr 2017, 06:24 PM

Good afternoon,

I am trying to implement some custom behaviour in a Scheduler during a move operation.

I am binding to the moveEnd event, and the API is very helpfully providing the destination slot and the resources associated with that slot. So far, so good. But I also require the origin slot and the resources associated with it. The moveEnd event does not provide this information. The moveStart event does not provide any information about slots or resources at all. My grouping resource allows multiple values, so I can't determine by looking at the event itself which of its several resources corresponds to the slot that was clicked at the start of the drag. How can I determine this information?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 01 May 2017, 05:51 AM
Hello,

Yes indeed it seems like the move Start event does not have information about the slot of the event. In such case you can try to use the move event where it is available and get the slot from the first move that is triggered after the moveStart.

You can also submit a feature request for adding slot  property to our moveStart event in our UserVoice portal.

Regards,
Plamen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Jason
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or