Grid to Grid drag and drop copy only
Hi,
I need to drag an item from grid1 to grid2. I have the following requirements:
1) The item in grid1 must not be removed from grid1 and is to be copied to to grid2.
2) When the item is copied to grid2, I also need to transform it to another type.
3) grid2 is also bound to a BindingList. Is see default behavior copies the item to grid.Rows, but is not sync'ed to the DataSource. If I add the item to the DataSource, grid2 actually inserts 2 rows unless the new row is then deleted from the Rows collection.
Please provide an example C# winforms app that meets the above requirements. I am currently using version 2.8.0.
I've attached a sample project to demonstrate the issues.
Thanks!
DapforDragDrop.zip
-
Hi,
We've attached an example to demonstrate custom drag&drop features. Hope this will help you.
Best regards,
Dapfor
DapforDragDrop.zip0
Please sign in to leave a comment.
Comments
1 comment