We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make row drag and drop between SfDataGrid's ?

SfDataGrid offers a built-in support for row drag and drop functionality by enabling SfDataGrid.AllowDraggingRows and AllowDrop property. This topic demonstrates row drag-and-drop operations between SfDataGrid.

 

 

Row drag and drop between SfDataGrid

You should enable AllowDraggingRows and AllowDrop property for the SfDataGrid’ s which are involved in row drag and drop operations.

The following screenshot displays the selected row can be dragged and dropped from one SfDataGrid to another.

Samples:

WPF

UWP

Article ID: Published Date: Last Revised Date: Platform: Control:
4116 02/20/2015 11/30/2017 WPF SfDataGrid
Did you find this information helpful?
Comments
Alexander Renz Oct 21, 2017

The example does not work for Visual Studio 2013. Drag and Drop works, but the rows that are inserted are empty! Could you please fix that in the example.

Reply
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon