Skip to content

React-json-tree: Add callback when expanding/closing node. #636

Open
@BrunoFenzl

Description

@BrunoFenzl

As far as I could see, there is no way of responding to a click on a node in the tree. I need to get the keypath property corresponding the node I clicked on. Currently I'm hijacking valueRender to get this value, but of course this also get called, at least for the root node when re-rendering the component.

Is there any interest in this feature? I badly need this feature and could merge make a PR if there is any interest.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions