Skip to content

tr placeholder with no tds #6

@samuelkitazume

Description

@samuelkitazume

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 :(

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