Drag and Drop - qTable
-
Hi,
So I got to the stage I need to order data in
qTable
. (The same withqTree
btw).
I would like to sort the rows in the table.Has anybody managed to get one of the drag and drop libraries working with
qTable
?
If so which library have you used ? Would you have an example ?I had a go with
https://kutlugsahin.github.io/vue-smooth-dnd/#/cards
which on the surface the nicest I have found. But I have no slot fortbody
so there is no way I can wrap it with the<Container>
tag … anyway Any thoughts would be welcome. -
@turigeza Don’t have an answer for you but just wanted to say that drop and drop library looks very nice …
-
I was able to get DND in a table using these instructions: // ! OR https://www.freecodecamp.org/news/https-medium-com-nakayama-shingo-creating-responsive-tables-with-pure-css-using-the-grid-layout-module-8e0ea8f03e83/
You DO have to set a :key as noted in one of the comments.