How to get the currently selected node of the tree in the presentation library, as well as its parent node and child node? #444
-
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.
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
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.
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.