Skip to main content
A newer version of this page is available. .

Drag-and-Drop

  • 2 minutes to read

The GridControl supports native drag-and-drop that allows your end users to:

DragDrop

Note

Enabling Drag-and-Drop

Set the DataViewBase.AllowDragDrop property to true to activate the drag-and-drop functionality. The code sample below demonstrates how to enable drag-and-drop in the TableView:

<dxg:GridControl>
   <!---->        
   <dxg:GridControl.View>
      <dxg:TableView AllowDragDrop="True" />
   </dxg:GridControl.View>
</dxg:GridControl>

Refer to the How to: Enable Drag-and-Drop in the TableView example for more information.

Note

The GridControl v17.2 and later ships with native drag-and-drop support. Use Drag-and-Drop Managers to enable drag-and-drop functionality in previous versions.

Concepts

See Also