This example demonstrates how to add the DragAndDrop capability to the detail grid.
Our detail grid with DataControlDetailDescriptor doesn't support drag and drop. To provide this capability in this sample, we create a GridDragDropManager class descendant and override the CalcDraggingRows method to obtain a selected row. Then, we subscribe to the GridDragDropManager's DragOver and Drop events. When Drop is raised, we calculate to which position we must insert a selected row.
Question Comments
Added By: nikoloo4 at: 9/29/2015 4:35:05 AM
The example doesn't build.
Problems:
1. BanDrop method is not implemented.
2. There is no GridControl variable in the class.
Could you please take a look at it?
Added By: Kirill (DevExpress Support) at: 10/1/2015 1:11:00 AMHello,
Would you please clarify what version of our controls you use? I've tested this example on versions 14.1.8, 14.1.11, 14.2.4, 14.2.7, 15.1.4 and 15.1.7 - the example is built correctly on these versions.
Thanks,
KirillAdded By: Merlijn at: 1/7/2016 2:37:50 AM
Had the same issue as nikoloo4, using version 15.1.2, after upgrading to 15.2.4 it seems to build.