TreeView_CollapseNode()

Examples


The TreeView_CollapseNode() function collapses the specified node in a tree view field.

Syntax

TreeView_CollapseNode(tree_view_field, node_ID)

Parameters

tree_view_field – The tree view field containing the node to be collapsed.

node_ID – A long integer specifying the ID of the node to be collapsed.

Return value

A boolean indicating whether the node was successfully collapsed. True indicates the node was successfully collapsed. False indicates the node was already collapsed.


Documentation Feedback