Control.draw override.
Namespace: MindFusion.Common.UI
File: TreeView.js
JavaScript Copy Code |
---|
function draw () |
The following code creates programmatically a TreeView with a TreeNode:
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()); |