Skip to content

Insert node at specific index under parent node.Iindex #930

@amitmankotia

Description

@amitmankotia

I am using react-sortable-tree in my application to create a funnel. I have a use case where I have a two buttons on child node to create another node under and above it. I need a method where I can pass parentKey and index so that new node is create under parent at specific index.

image

I did not find any function like addNodeUnderParentAtIndex which can do so.

Any help on how this can be done is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions