Quantcast
Viewing all articles
Browse latest Browse all 7205

How to add DragAndDrop capability to the detail grid

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. 


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>