Skip to content

Need path info immediately after adding item to tree #272

Open
@29er

Description

@29er

This is more of a question.
I am adding node programmatically, similar to here:
https://fritz-c.github.io/react-sortable-tree/storybook/index.html?selectedKind=Basics&selectedStory=Add%20and%20remove%20nodes%20programmatically&full=0&addons=0&stories=1&panelRight=0

Immediately after adding a node to the tree I need to find the path info which the item was inserted at (similar to clicking a button in the node and and getting the node/path ). What would be the recommended approach to getting this info?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions