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