createTreeNode Method

Creates a TreeNode element.

Syntax

oTreeNode = TREEVIEW.createTreeNode()

Return Value

Returns the TreeNode object.

Example

This example creates a TreeNode. It assumes that the treeview has an id value of treeview_one.


var myNode = treeview_one.createTreeNode();

Applies To

TREEVIEW

See Also

Show: