Default
A tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.
Border
Determines if the node depth border renders.
Selectable
Determines whether all nodes can be in a selected state. Nodes can be in a single or multi select state.
Selectable Multiple
Multi-selection tree for choosing many items from hierarchical options, enabling bulk operations and comprehensive content management.
Select Event
Selected: None
History:
- No selections yet
Interactive selection handling using the select event, with callbacks for node selection changes.
Highlight
Tree with highlighted nodes for emphasizing specific items, providing visual focus and search result signal in hierarchical data.
Links
Tree with navigation links for hierarchical menu systems, enabling structured site navigation and content discovery.
Async
Tree with loading states for asynchronous data, including progress indicators and dynamic content loading in hierarchical structures.
Node Content
block
content
This is some longer content in a tree node.
Tree with rich node content including forms, controls, and interactive elements, enabling complex data management within hierarchical structures.
Dynamic Tree
Dynamic tree with programmatic node creation and management, for scalable hierarchical data handling with large datasets.
Overflow
Tree with scrollable container for handling deep hierarchies and large datasets, ensuring optimal space usage and navigation.
Bulk Creation
Tree with bulk node creation for performance testing, verifying efficient handling of large numbers of nodes and dynamic expansion.
Audit
Examples of invalid tree usage patterns for testing and documentation purposes, showing what not to do when implementing trees.