DataGrid / Rows / Drag and Drop

Blazor DataGrid Example - Drag and Drop Rows

Loading Syncfusion Blazor Server Demos…

1 of 7 pages (75 items)
0 of 0 pages (0 items)

This sample demonstrates the DataGrid row drag and drop functionality for moving rows between multiple DataGrids.

The Blazor DataGrid supports row drag and drop operations across different grids. Enable this feature by setting the AllowRowDragAndDrop property to true.

Configure the drop target using the TargetID property of the GridRowDropSettings component to specify which grid will receive the dropped rows.

By default, the AllowEmptyAreaDrop property is enabled, allowing users to drop records into empty areas of the target grid, enhancing usability.

In this demo:

  • Selection is enabled for row selection
  • Multiple rows can be selected by clicking and dragging
  • Rows can be dragged between DataGrids or within the same grid
  • The drag icon on the left side of the grid column facilitates row selection and dragging
  • Drop rows into the target grid to complete the transfer

For more detailed information about row drag and drop, refer to the row drag and drop documentation.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE