Table of Contents
setExpanded Method 

Expands or collapses a tree node.

Syntax
JavaScript
 TreeNode.setExpanded(expanded)

Parameters

expanded
true to expand a node, false to collapse a node.
See Also