Grid Control 

Drag and Drop Properties

 

Grid controls support drag and drop functionality. The following four properties are used to support drag and drop (see Grid Properties):

 

'DraggedColumn$

Column where the drag started from

 

'DraggedRow

Row where the drag started from

 

'DroppedOnColumn$

Column dropped on

 

'DroppedOnRow

Row dropped on

When dragging off a grid, the starting point must be a column or row header. If a column header is used and column swapping is enabled using the 'SwapEnabled property, then the drop target must be a control other than the grid itself. This is because dragging a column header within the grid is the method used to swap columns.

See Drag and Drop Utility.