Reorder ListView Items

6 posts, 0 answers
  1. Brian
    Brian avatar
    10 posts
    Member since:
    Nov 2010

    Posted 09 Mar 2012 Link to this post

    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/
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 12 Mar 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Brian
    Brian avatar
    10 posts
    Member since:
    Nov 2010

    Posted 13 Mar 2012 Link to this post

    I ended up using the JQuery UI Sortable interaction. It's pretty much exactly what I wanted.
  5. Priyanka
    Priyanka avatar
    1 posts
    Member since:
    Sep 2012

    Posted 06 Sep 2012 Link to this post

    but its not working in list view..
    in this same code ($(e.draggable.currentTarget).data("uid") is not getting uid...its showing undefined...
  6. Dennis
    Dennis avatar
    24 posts
    Member since:
    Oct 2012

    Posted 04 Nov 2012 Link to this post

    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
  7. charan
    charan avatar
    29 posts
    Member since:
    May 2012

    Posted 26 Nov 2012 Link to this post

    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.
Back to Top
Kendo UI is VS 2017 Ready