Control.draw override.
Namespace: MindFusion.Common.UI
File: TreeView.js
SyntaxJavaScript
Copy Code
|
|---|
function draw () |
ExampleThe 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()); |
See Also