You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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.
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
The text was updated successfully, but these errors were encountered: