Organize your hierarchical data into our user-friendly TreeView component. Wijmo's TreeView can be used for navigation, selection or data visualization.
Display Hierarchical Data
The TreeView's hierarchical structure and auto-search functionality make it easy for users to drill-down and find the items they are interested in.
When checkboxes are displayed, the TreeView manages their hierarchy so that when a checkbox is checked or cleared, the new value is automatically applied to all child nodes, and reflected on the state of the parent nodes.
You can customize the content of the TreeView nodes using the formatItem event. The event handler parameters include the element that represents the node and the data item being rendered.
Only two steps are required to implement lazy loading with Wijmo TreeView.
- Set the items property in the parent node data item to an empty array.
- Set the TreeView's lazyLoadFunction property to a function to be called when the user expands the node. This function takes two parameters: the parent node and a callback function to be invoked when the data becomes available.