bootstrap-html5sortable icon indicating copy to clipboard operation
bootstrap-html5sortable copied to clipboard

tr placeholder with no tds

Open samuelkitazume opened this issue 8 years ago • 0 comments

Hey there,

I initialized .sortable() in my "table tbody" element. So far, so good, but the tr placeholder created have no child. It causes some layout breaks because of the tr with less tds than the others.

I was thinking about adding this funcionality cuz I haven't found any help in the actual documentation, but it's working just fine in the example.

Am I doing anything wrong?

first col
second col
third col
2 a b
3 a b
4 a b
1 a b

$("table tbody").sortable({ handle: "span", forcePlaceholderSize: true });

Inside the first td of every row I put a span.glyphicon.glyphicon-move, but it's not visible here :(

samuelkitazume avatar Jan 31 '17 22:01 samuelkitazume