Refreshes an HTML format tree and updates it with the latest values of all items.
ColdFusion.Tree.refresh(name
)
cftree, cfajaximport, ColdFusion.Tree.getTreeObject, "Using HTML format trees" in the ColdFusion Developer's Guide
ColdFusion 8: Added this function
Parameter |
Description |
---|---|
name |
The value of the name attribute of the cftree tag for which you want the object. |
An object of type YAHOO.widget.TreeView.
Use this function to manually update the tree. If you populate the tree by using a bind expression, the refresh call causes the bind expression to be reevaluated and repopulates the tree root nodes. You should use this function any time you must get the latest data from the server independent of an event that triggers the cftree bind expression, for example, to you might use this function to periodically refresh a file/folder tree to represent the current status of the server.