Reordering rows using drag and drop and autosaving the order to the database

8 posts, 0 answers
  1. Ritika Gupta
    Ritika Gupta avatar
    12 posts
    Member since:
    Jan 2010

    Posted 10 Feb 2010 Link to this post

    Hi,

    My project involves displaying products in RadGrid. I would like to reorder rows using RadGrid's drag and drop feature wherein after reordering the row, the order should be autosaved to the database.

    Is this possible and if yes, then how? I'm looking for the code on an urgent basis. Any help on this is highly appreciated.

    Many thanks,
    Ritika
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 10 Feb 2010 Link to this post

    If you are looking to save the Grid's current layout you could look into this documentation article which shows you how you can approach the saving aspect of your potential implementation.
  3. Ritika Gupta
    Ritika Gupta avatar
    12 posts
    Member since:
    Jan 2010

    Posted 11 Feb 2010 Link to this post

    Hi Schlurk,

    Thanks for your reply, However this isnt what i was looking for.

     I need to know if there is a way in RadGrid where i can drag and drop a row to reorder and then if this new order can be autosaved to the database directly.

    Any code / documentation on this will be highly appreciated!

    Many Thanks,
    Ritika


  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 16 Feb 2010 Link to this post

    Hi Ritika,

    Please review this online demo for more information on how you can implement RadGrid items drag and drop.

    Give a try and let me know if any issues arise.

    Regards,
    Iana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Saxon
    Saxon avatar
    7 posts
    Member since:
    Nov 2015

    Posted 23 Nov 2015 in reply to Iana Tsolova Link to this post

    The _RowDrop event seems not working when dragged to Trash.
  6. Saxon
    Saxon avatar
    7 posts
    Member since:
    Nov 2015

    Posted 23 Nov 2015 in reply to Saxon Link to this post

    sorry, I get confused before and now figured out how demo work... Pls delete this reply
  7. Diego
    Diego avatar
    9 posts
    Member since:
    Jun 2018

    Posted 14 May 2019 in reply to Iana Tsolova Link to this post

    Hello Iana,

    This link is currently not working, is there any current example of column reordering and being able to save the new configuration somewhere else?

    Thank you.

  8. Vessy
    Admin
    Vessy avatar
    2070 posts

    Posted 17 May 2019 Link to this post

    Hi Diego,

    The demo previously provided by Iana can be accessed via the following link:
    https://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/drag-and-drop/defaultcs.aspx

    Regards,
    Vessy
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top