ColdFusion.Tree.getTreeObject

Description

Gets the underlying object for the specified HTML tree.

Function syntax

ColdFusion.Tree.getTreeObject(name)

See also

cftree, cfajaximport, ColdFusion.Tree.refresh, Using HTML trees in the Developing ColdFusion Applications

History

ColdFusion 8: Added this function

Parameters

Parameter

Description

name

The value of the name attribute of the cftree tag for which you want the object.

Returns

An object of type YAHOO.widget.TreeView.

Usage

Use this function to get the Yahoo User Interface Library YAHOO.widget.TreeView object that underlies the HTML cftree control. You can then use the raw object to modify the displayed tree. For documentation on the objects and how to manage them, see the Yahoo toolkit documentation.