-
Notifications
You must be signed in to change notification settings - Fork 706
docs(table): add drag and drop example #3700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(table): add drag and drop example #3700
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a random question, is Sortable
the most used dnd library in Vue nowadays? I like the fact that there is a VueUse wrapper but I also heard about https://drag-and-drop.formkit.com/ (never tried it though).
There is also https://github.com/Alfred-Skyblue/vue-draggable-plus which implies that SortableJS doesn't have good support for Vue3. Again, I'm just wondering here if sortable is the best library to demonstrate in our examples. |
Good question. I know I tried to find better packages for quite some time (some time ago), but haven't checked these. Is it my phone or is https://drag-and-drop.formkit.com/ really slow and laggy? I'll check it out! |
There is a React example of drag and drop for TanStack Table that uses |
Mhh, looks like they are actively working on making it work for other languages as well. clauderic/dnd-kit#1194 (comment) I'll have a better look tomorrow on my laptop. Dnd looks super promising, but I don't think there is much left then the 2 packages you shared. Additionally, all of the examples comes down to the same implementation, but from another import. |
Alright, so... Drag & Drop Libraries
I'll leave it up to you @benjamincanac to determine what you'd like to have as main library for examples. |
u can use vueuse |
Hi @vitalijalbu, that is what the whole discussion is about. I'm using VueUse in my example, but we're looking for a better solution. |
I think we can keep VueUse for the examples like you did for the Accordion. |
Thanks @stijns96! π |
π Linked issue
Resolves #933
β Type of change
π Description
Add a drag and drop example for the Table component
π Checklist