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

How to control the switching positions by drag and drop

3 Answers 31 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Tamir
Top achievements
Rank 1
Tamir asked on 29 Jun 2012, 05:11 AM

Hello,
I want to change the way TileViewItems change their positions in the I want to change the way TileViewItems change their positions in the TileView so that when I drag an item to the left of another one it will change his position to the left of the dropped item and to the right accordingly without any other changes to the other items (I believe the way to do that is to  pin all the others).

How would you recommend me to do so?

Thank you anyway!

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 03 Jul 2012, 05:59 AM
Hello Tamir,

 Could you please examine this demo and its source code? Is this what you are looking for ? If not, could you please elaborate more on your exact requirement, any snapshots will be highly appreciated? Thank you in advance.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Tamir
Top achievements
Rank 1
answered on 07 Jul 2012, 06:19 PM
Thank you Petar,
This is not exactly what I need. For example when In your example I drag Item 2 to the left of Item 9 I need it to reorder like that:
Item 1 (Pinned), Item 3, Item 4,
Item 5 (Pinned), Item 6, Item 7,
Item 8, Item 2, Item 9,
Item 10 (Pinned)

So that Item 2 is placed to the left of the ninth item and the others filling the blanks (moving one step to the left).
0
Petar Mladenov
Telerik team
answered on 11 Jul 2012, 01:17 PM
Hello Tamir,

 We prepared a sample for you. Please take a look at it and let us know if it satisfies you.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TileView
Asked by
Tamir
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Tamir
Top achievements
Rank 1
Share this question
or