Skip to content

Trouble Implementing Drag-Table #74

@stephenschultz

Description

@stephenschultz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions