Skip to content
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

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

Open
caleywoods opened this issue Jun 16, 2017 · 3 comments
Open

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

caleywoods opened this issue Jun 16, 2017 · 3 comments

Comments

@caleywoods
Copy link

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
Copy link
Owner

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
Copy link

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

@rubemlrm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants