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

How to use table dnd for nested table structure? #53

Open
kakkard opened this issue Jan 20, 2015 · 2 comments
Open

How to use table dnd for nested table structure? #53

kakkard opened this issue Jan 20, 2015 · 2 comments

Comments

@kakkard
Copy link

kakkard commented Jan 20, 2015

Following is my query.

I am using table dnd js for sorting the rows of my table. When table structure is simple, it works perfectly. But is there a way to group two (or perhaps more) rows and move them together? To do this, i am using nested table structure, below is the html.

1 One some text
11 OneOne some text
111 OneOneOne some text
2 Two some text

And script is

<script type="text/javascript" charset="utf-8"> $(document).ready(function() { // Initialise the table $("#table-1").tableDnD(); // Make a nice striped effect on the table $("#table-1 tr:even").addClass("alt"); }) </script>

But this is not working. Infact using span tag instead of nested table does not work.Please help what i am missing here.

Thanks

@kakkard kakkard changed the title How to use table dnd for nested tablee structure? How to use table dnd for nested table structure? Jan 20, 2015
@temuri416
Copy link

+1 for support of tables nested in draggable rows.

@FlashJunior
Copy link

+1 (See also: #27)

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

3 participants