Example of Drag and Drop within Grid in Blazor DataGrid Component

DataGrid / Rows / Drag and Drop within Grid

This sample shows the DataGrid component with row drag and drop functionality within the same grid.

Drag a column header here to group its column

By setting the AllowRowDragAndDrop property to true, the Blazor DataGrid allows you to rearrange grid rows within the same grid.

By setting the AllowGrouping property to true, the Blazor DataGrid allows you to rearrange the row from one group to another group.

In this demonstration, the rows in the same grid are rearranged by dragging and dropping them using the drag icon on the left side of the grid column. You can now drag and drop grid rows between the predefined rows.

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