Adobe ColdFusion 8

ColdFusion.Tree.getTreeObject

Description

Gets the underlying object for the specified HTML format tree.

Function syntax

ColdFusion.Tree.getTreeObject(name)

See also

cftree, cfajaximport, ColdFusion.Tree.refresh, "Using HTML format trees" in the ColdFusion Developer's Guide

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 format 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.