Drag and drop a row over another row

8 posts, 0 answers
  1. Silvio Silva Junior
    Silvio Silva Junior avatar
    100 posts
    Member since:
    Mar 2010

    Posted 27 Apr 2011 Link to this post

    Hello guys.

    Is this possible to drag and drop a row over another row in the same grid and take the event and the args of the context?

    Best regards.
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 02 May 2011 Link to this post

    Hi Silvio,

    In this demo you can drag items from the first(left) grid and drop them again in the first(left) grid.
    Check it out and let me know if you have further questions.

    Greetings,
    Iana
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Silvio Silva Junior
    Silvio Silva Junior avatar
    100 posts
    Member since:
    Mar 2010

    Posted 02 May 2011 Link to this post

    Thanks for the answer, but I need some like to drop the row over another row. Some suggestions?

    Regards.
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 02 May 2011 Link to this post

    Hi Silvio,

    With RadGrid you can drop an item under or above an specific item. Can you elaborate on what you are trying to achieve with dropping an item over another item?

    Kind regards,
    Iana
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Silvio Silva Junior
    Silvio Silva Junior avatar
    100 posts
    Member since:
    Mar 2010

    Posted 02 May 2011 Link to this post

    Yes, I'm trying to create an hierarchy, I want drag-and-drop a row over another row, and the row dropped, will be a son of the row that received the drop.

    Regards.
  7. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 03 May 2011 Link to this post

    Hi Silvio,

    The desired functionality could be hardly achieved with RadGrid.
    However, we are currently implementing drag and drop for our RadTreeList control which will be released in Q2 2011. There you would be able to drop items over a specific item and use automatic database operations to update the items relation without writing any code. Therefore I would suggest that you wait for the Q2 2011 release and use RadTreeList for your purpose.

    Other than this, with RadGrid, you can try implementing a self-reference grid and drop the items over the nested table view.

    Regards,
    Iana
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  8. Curtis
    Curtis avatar
    23 posts
    Member since:
    Jan 2008

    Posted 09 Jan 2013 Link to this post

    Are there any plans to add this feature in the future? It would seem very easy to add the ability to drag "Over" in addition to Above and Below.

    The TreeList has a limited subset of the features of the RadGrid when it comes to filtering, exporting, and much else. We want the ability to drag a row OVER another row so that we can assign the destination row's data the same attributes as the row being dragged. It isn't hierarchical data so using a TreeList doesn't make sense and we don't want to lose the grid's header context menu and grid's built in filtering functionality.


  9. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 14 Jan 2013 Link to this post

    Hi Curtis,

    For now we do not have plans to add this feature to the RadGrid control in some of the upcoming releases. However I will again forward you request to our dev team so they could further discuss its possible implementation.

    Greetings,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017