Dragging and reordering Tileview items shift instead of swap

2 posts, 0 answers
  1. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 22 Sep 2012 Link to this post

    Hello I am looking for a way to implement an item shift instead of a swap, so that when a user drags a tile over rows the items don't swap indexes but rather the source takes the destination's index and everything before it shifts down by one. I am looking to get this to behave with the preview/drag so that the user gets instant feed back of the collection. So looking for a DragMode = SlideWithShift. I prepared an image for the visual thinkers. Thanks in advance for any code and workarounds to achieve this.
    Shift vs swap Image

    [Edit to remove bogus link]
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 26 Sep 2012 Link to this post

    Hi Ender,

    I will attach the sample solution we prepared for you here as well.

    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top