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

Reorder ListView Items

5 Answers 302 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 09 Mar 2012, 06:32 PM
Does the ListView support reordering items using Drag & Drop? I'm considering using the control for a photo gallery like page, but one of the main things is the ability for the user to reorder the items.

I've got a jsFiddle project started (based on the ListView example). If you could show how it's done, I would appreciate it. http://jsfiddle.net/jWRVA/

5 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 12 Mar 2012, 09:42 AM
Hello Brian,

Here is a sample how this is being implemented for reordering Grid items. You can use same approach with ListView.

http://jsfiddle.net/rusev/saAfL/

Regards,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brian
Top achievements
Rank 1
answered on 14 Mar 2012, 04:02 AM
I ended up using the JQuery UI Sortable interaction. It's pretty much exactly what I wanted.
0
Priyanka
Top achievements
Rank 1
answered on 06 Sep 2012, 11:50 AM
but its not working in list view..
in this same code ($(e.draggable.currentTarget).data("uid") is not getting uid...its showing undefined...
0
Dennis
Top achievements
Rank 2
answered on 04 Nov 2012, 02:42 PM
I'm trying to get Kendo listView to work with jquery UI sortable, but to no luck. I can drag them but it doesnt resort them once I drop, nothing happens.

Any example of this working would be very helpful.

Thanks in advance,

Dennis
0
charan
Top achievements
Rank 1
answered on 26 Nov 2012, 11:33 AM
hi,
I am also having the same issue,I am not able to get the "uid" value,It is showing "undefined".If any one implemented ,can u please post the solution.
Tags
ListView
Asked by
Brian
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Brian
Top achievements
Rank 1
Priyanka
Top achievements
Rank 1
Dennis
Top achievements
Rank 2
charan
Top achievements
Rank 1
Share this question
or