(treeview)
o2_ctrl_tree o2tree_def(string $name, array $structure, integer $activation, string $action)
ATTENTION: Treeview scripting definition and usage are DEPRECATED. Use a Treeview control from development interface (JXOB) instead.
Defines a treeview control in the current program.
$structure can be an array of nodes to fill-up treeview on creation. Array is in the form:
array($node1_id => array($parent_id, $html_code, icon_file),
$node2_id => array($parent_id, $html_code, icon_file),
...,
$nodeN_id => array($parent_id, $html_code, icon_file))