<className> | - Class name. Value should be "UITree". |
<nodes> | - Accociated array of UITreeItem objects. |
<onSelect> | - Code block. Action that will be call on row selection by double click or 'Enter' key pressed. |
ADDNODE | Add node to tree view. |
CLEAR | Clear tree: remove all nodes. |
GETSELECTION | Get identifier of selected node. |
GETSELECTIONID | Get user identifier of selected node. |
RESTOREPOSITION | Restore saved row position. |
SAVEPOSITION | Get current selected row position. |
SETACTION | Set action that will be executed if tree node selected by double click or 'Enter' key pressed. |
UITREE | Constructor. Create tree view. |
addNode(<columns>,[<id>],[<parent>],[<sibling>],[<expanded>]) --> <oNode>
<columns> | - Array of strings. Array of values by columns. |
<id> | - String. Node identifier. |
<parent> | - Object UITreeItem. Parent node. |
<sibling> | - Object UITreeItem. Put node before specified node on such level. |
<expanded> | - Boolean. Expand child nodes. |
Returns : | Object of tree node, that may be used as parent node (UITreeItem). |