Skip to content

How to get the currently selected node of the tree in the presentation library, as well as its parent node and child node? #444

Answered by grigasp
shenshengyi asked this question in General
Discussion options

You must be logged in to vote

Not sure what a "tree in the presentation library" means, since presentation library only provides helpers (React hooks & HOCs, data providers) for the ControlledTree component in @bentley/ui-components package. I would need to get more details on what exactly you're using to be able to help.

Also, you might find UI Trees samples useful.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@shenshengyi
Comment options

@grigasp
Comment options

@shenshengyi
Comment options

Answer selected by shenshengyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants