The ON EXPAND block is executed when a tree view node is expanded (i.e. opened).
This data block is used to implement dynamic trees in a DISPLAY ARRAY, where nodes are added according to the nodes opened by the end user.