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

Dragging and reordering Tileview items shift instead of swap

1 Answer 32 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jamest
Top achievements
Rank 2
Jamest asked on 22 Sep 2012, 07:59 PM
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.
          Regards, 
                 Jordan 
Shift vs swap Image

[Edit to remove bogus link]

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 26 Sep 2012, 03:01 PM
Hi Ender,

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

Regards,
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.

Tags
TileView
Asked by
Jamest
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Share this question
or