Represents an expandable ListItem.
Namespace: MindFusion.Common.UI
File: TreeNode.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
ExampleThe following code creates a new TreeView element using a <div> element with id "treeview" initialized in an HTML page. Then it creates a TreeNode item and adss it to the items collection of the TreeView.
JavaScript
Copy Code
|
|---|
var treeView = new ui.TreeView(document.getElementById("treeView")); // create a tree node that will be a root in our hierarchy |
Inheritance HierarchyMindFusion.Common.UI.TemplatedItem
MindFusion.Common.UI.ListItem
MindFusion.Common.UI.TreeNode
MindFusion.Common.UI.MenuItem
See Also