Can't I use the column Dnd (drag and drop) feature in vue3?
In react, there are examples that utilize the react-dnd library to provide this functionality; is it not available in vue3?
1 Reply
quickest-silver•2y ago
You can.
Use whatever is the Vue equivalent package for drag-and-drop functionality or use the built-in browser APIs. Then on drag-end/drag-drop, use the column ordering API to update the column state.
https://tanstack.com/table/v8/docs/guide/column-ordering
Column Ordering | TanStack Table Docs
Examples
Want to skip to the implementation? Check out these examples: