Skip to content

Commit 7c21948

Browse files
ES-976509 - Addressed the concerns
1 parent bd2256d commit 7c21948

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

DataGridWhileDraggingTheRecord.png

-41.4 KB
Binary file not shown.

GettingTargetedRecordOnDrop.gif

448 KB
Loading

GettingTargetedRecordOnDrop.png

-46.5 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# How to Get the Target Record when Drop the Row in WPF DataGrid?
22

3-
This example illustrates how to get the target record when drop the row in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid)?
3+
This example illustrates how to get the target record when drop the row in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

55
`DataGrid` does not provide the direct support to get the target record which is going to drop. You can get the target record which is going to drop by using [SfDataGrid.RowDragDropController.Drop](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridRowDragDropController.html#Syncfusion_UI_Xaml_Grid_GridRowDragDropController_Drop) event.
66

@@ -23,8 +23,5 @@ private void RowDragDropController_Drop(object sender, GridRowDropEventArgs e)
2323
txtDisplayRecord.Text = "OrderId : " + targetRecord.OrderID + "\nCustomerID : " + targetRecord.CustomerID + "\nCustomerName : " + targetRecord.CustomerName + "\nCountry : " + targetRecord.Country + "\nUnitPrice : " + targetRecord.UnitPrice + "\nRow Index :" + droppedIndex;
2424
}
2525
```
26-
#### Dragging:
27-
![alt text](DataGridWhileDraggingTheRecord.png)
2826

29-
#### After Drop:
30-
![alt text](GettingTargetedRecordOnDrop.png)
27+
![Getting target record when drop and drop the row](GettingTargetedRecordOnDrop.gif)

0 commit comments

Comments
 (0)