TreeView.onCollapse

void onCollapse (ListItem item)

Parameters

item The?ListItem?node that collapsed.

Description

An event-handler callback function, called when the user collapses (closes) an expanded node in the treeview.