Skip to content

Compatiblity between expandable-table-row and nova-sortable #4

Description

@scramatte

Hi,

Please find my patch here
https://github.com/operativeit/nova-sortable

And for expandable-table-row I've send you a PR

What I would like to comment with you as I follow your way to minimize component overriding is if you know how can we add
draggable component programmatically.

Basically what I've done is move draggable on table tag itself, wrap each tr into tbody and append index property as it's necessary to sort list correctly. Without this property the reorder is incorrect as draggable reporta incorrect index ( it lookup to all html children including thead or any other markup).

Please take a look to the code and if you know a way to remove the last override.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions