vuetiful icon indicating copy to clipboard operation
vuetiful copied to clipboard

Drag and Drop on <td>'s?

Open caleywoods opened this issue 8 years ago • 3 comments

I'm seeing some code in the component files that seems to indicate some support for drag and drop. I've got a demo project setup that I've been playing around with and I'm seeing an error in the chrome dev tools:

[Vue warn]: Failed to resolve directive: drag

(found in <Anonymous>)

Wondering if there's some issue stemming from me being on Windows 10 or if this is actually a problem with one of the events in datatable.vue.

caleywoods avatar Jun 16 '17 15:06 caleywoods

Hi @caleywoods

The datatable uses drag and drop functionality to perform grouping by columns. The v-drag directive will need to be registered in order for the drag and drop functionality to work correctly. The v-drag directive is in src/directives/v-drag.js.

andrewcourtice avatar Jun 24 '17 07:06 andrewcourtice

@andrewcourtice can you please show code snippet how to register v-drag directive... I am new in vuejs...

waqas-mehmood-pk avatar Aug 23 '17 11:08 waqas-mehmood-pk

Hi there i have the same problem, can you share a example working with that? Thanks in advance

Sent from my HONOR-7 using FastHub

rubemlrm avatar Aug 24 '17 18:08 rubemlrm