Demonstration and configuration of the Radzen Blazor DropZone component.
Drag/Drop tasks between zones to update task status and order or in the same zone to reorder.
Moving tasks between "Not started" and "Completed" zones is disallowed using CanDrop callback.
Use ItemSelector callback to define which item in which zone will appear, Drop callback to customize the drop logic and
ItemRender callback to customize if the item can be dragged, appearance, etc.
In this demo tasks can be dragged between Not started (yellow), Started (blue), Completed (green), and Deleted (red) zones, with CanDrop preventing direct moves from "Not started" to "Completed", ItemRender making "Task2" non-draggable, and items deleted when dropped in the Deleted zone.
Use the built-in .rz-can-drop and .rz-no-drop CSS classes to apply styles and differentiate the DropZones that allow dropping from these that do not.
Add a footer template to the dropzone to display items below the rendered items.
Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT