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
-
Hi, I'm using the tree in the presentation library, but I can't get the node selected by the current mouse, as well as its parent node and child node. Can you help me? thank you |
Beta Was this translation helpful? Give feedback.
Answered by
grigasp
Dec 16, 2020
Replies: 2 comments 3 replies
-
Not sure what a "tree in the presentation library" means, since presentation library only provides helpers (React hooks & HOCs, data providers) for the Also, you might find UI Trees samples useful. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
shenshengyi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.