shadcn/ui DataTable w/ drag-n-drop columns
This is an example where shadcn/ui's DataTable (built on top of the Tanstack Table) is customized to have drag-n-drop functionality for its columns.
Click here, to view the source on GitHub.
Id | Status | Email | City | Country | Amount | ||||||
728ed52f | pending | m@example.com | Amsterdam | Netherlands | 100 | ||||||
489e1d42 | processing | example@gmail.com | A Coruña | Spain | 125 |