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?