ListItem.draw override.
Namespace: MindFusion.Common.UI
File: TreeNode.js
JavaScript Copy Code |
---|
function draw () |
The following code creates a TreeView with a TreeNode programmatically:
JavaScript Copy Code |
---|
function loadWindow(sender) // create a tree node that will be a root in our hierarchy sender.element.querySelector("#nav_tree").appendChild(tree.draw()); |