andrewcourtice / vuetiful

Vuetiful is a component framework written on top of the Vue reactive library. It is primarily designed for creating business/administration applications where the displaying of data is paramount.
MIT License
488 stars 108 forks source link

Drag and Drop on <td>'s? #23

Open caleywoods opened 7 years ago

caleywoods commented 7 years ago

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.

andrewcourtice commented 7 years ago

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.

waqas-mehmood-pk commented 7 years ago

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

rubemlrm commented 7 years ago

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