lusaxweb / vuesax

New Framework Components for Vue.js 2
https://lusaxweb.github.io/vuesax/
MIT License
5.64k stars 741 forks source link

vs-table draggable #654

Open peymanforceman opened 5 years ago

peymanforceman commented 5 years ago

Is there any way or method to make vs-table rows draggable ?

I want to make a table with many rows and columns and I would like to use vs-table because of the amazing features like : sorting , filtering and ....

but I want the rows to be draggable , so that I can resort them by myself and then save it to the server.

Unfortunately I couldn't find any way to make vs-table's rows draggable .

Example link : https://sortablejs.github.io/Vue.Draggable/#/footerslot

agentprivatbanka commented 3 years ago

use https://github.com/SortableJS/Vue.Draggable ¯_(ツ)_/¯ ... or use vutify https://dev.to/andynoir/draggable-table-row-with-vuejs-vuetify-and-sortablejs-1o7l

daninfocus commented 2 years ago

Any progress? I'm currently trying with vuesax and vuedraggable, but there is a problem where vuedraggable creates a div in the first column for the draggable rows, but the width doesn't match the tables width...