DataGrid / Rows / Drag and Drop within Grid

Blazor DataGrid Example - Drag and Drop within Grid

Loading Syncfusion Blazor Server Demos…

Drag a column header here to group its column

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

The Blazor DataGrid enables row rearrangement through drag and drop operations by setting the AllowRowDragAndDrop property to true. This allows you to rearrange grid rows within the same grid by dragging and dropping.

When the AllowGrouping property is set to true, you can rearrange rows from one group to another, enabling flexible data organization.

In this demo, rows are rearranged by dragging and dropping them using the drag icon on the left side of the grid column. You can drag and drop grid rows between predefined row positions to reorganize your data.

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