Drag cell data from one DataGrid and drop into a different DataGrid

Nov 25, 2009 at 8:18 PM

I have two WPF DataGrids.  I want to allow the user to drag the contents of a cell (DataGridComboBoxColumn selected value) in one DataGrid and drop it into the other DataGrid.  Does anyone have any examples or suggestions on how this can be done?  Thank you,

Nov 30, 2009 at 4:07 PM



I was able to implement the drag/drop functionality between two DataGrids by following the instructions in this post.  I had to make a few changes, but the article did a good job explaining how to implement drag/drop between WPF components.





Also, I set the grid to single-click editing per the instructions found in the DataGrip Tips and Tricks



Thank you,