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

Trouble Implementing Drag-Table #74

Open
stephenschultz opened this issue Mar 13, 2018 · 0 comments
Open

Trouble Implementing Drag-Table #74

stephenschultz opened this issue Mar 13, 2018 · 0 comments

Comments

@stephenschultz
Copy link

I am attempting to implement drag-table in my application.

I have injected 'Dragtable' into my application and included the following scripts

angular-dragtable.js
jquery-3.1.1.js
angular-1.5.5.js

along with the jquery-ui files core.js and widget.js (did not find mouse or sortable in my distribution.

This is in my view

<thead>
	<tr>
		<th drag-me drop-me>One</th>
		<th drag-me drop-me>Two</th>
	</tr>
</thead>
<tbody>
	<tr>
		<td>this</td>
		<td>that</td>
	</tr>
	<tr>
		<td>some</td>
		<td>another</td>
	</tr>
</tbody>
which renders like this on page load:

table 1

Hovering over a table header gives me the drag cursor but when I drag column One to the right and drop it past column Two I see this:

table 2

And attempting this move a second time results in this:

table 3

Any help appreciated!

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

1 participant