Identifying origin slot during move

2 posts, 0 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Feb 2017

    Posted 27 Apr 2017 Link to this post

    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?

  2. Plamen
    Admin
    Plamen avatar
    3055 posts

    Posted 01 May 2017 Link to this post

    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.
Back to Top