Examples
Row Dragging Example
An example of Shadcn Table which shows how to drag and drop rows for various use cases.
Shadcn Table has built-in support row drag and drop features that can be used in a variety of ways. Learn more about row ordering in the Row Ordering/DnD Feature Guide.
Try it
- Drag Dylan by his handle onto
Naughty List. He moves there. - Drag Brittany onto
Nice List. She moves there. - Drop a row inside its own table. Nothing changes.