This JavaScript tree example illustrates the ability to assign user-defined functions to different
event handlers (e.g. Mouse Over, Mouse Out, Check, UnCheck, Select, Deselect). If you try to change
a checkbox value, an alert box will appear. Alert box is displayed also when a tree node is selected.
Confirm box will pop up if user opens or closes a node.
So, dhtmlxTree allows you to define any functions and attach them to event handlers in order to customize
tree behavior. That enriches possibilities for user interaction with JavaScript tree interface.