ON COLLAPSE block

The ON COLLAPSE block is executed when a tree view node is collapsed (i.e. closed).

This data block is used to implement dynamic trees in a DISPLAY ARRAY, where nodes are removed according to the nodes closed by the end user.