Skip to main content

External Interaction via Refs

React Complex Tree provides comprehensive imperative interaction capabilities via React Refs. You can pull a Ref either from the environment or the tree, and act on those to manipulate the state of the trees.

info

Look into the respective interfaces via the links above to see all capabilities.

Note: Both the UncontrolledTreeEnvironment and the ControlledTreeEnvironment yield a TreeEnvironmentRef.

Example

Live Editor
Result
Loading...