ColdFusion 9.0 Resources |
ColdFusion.Tree.refreshDescriptionRefreshes an HTML tree and updates it with the latest values of all items. Function syntaxColdFusion.Tree.refresh(name) See alsocftree, cfajaximport, ColdFusion.Tree.getTreeObject, Using HTML trees in the Developing ColdFusion Applications HistoryColdFusion 8: Added this function Parameters
ReturnsAn object of type YAHOO.widget.TreeView. UsageUse 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 re-evaluated and repopulates the tree root nodes. 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, use this function to periodically refresh a file/folder tree to represent the status of the server. |