Category / Section
How to make row drag and drop between SfDataGrid's ?
1 min read
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.
<syncfusion:SfDataGrid x:Name="dataGrid" AllowDraggingRows="True" AllowDrop="True" LiveDataUpdateMode="AllowDataShaping" ItemsSource="{Binding UserDetails}" >
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: