expand collaps

Drag-and-Drop
Before | After | Description
onDrag |  | Event occurs after item was dragged and droped on another item, but before item moving processed. ID of source item ID of target item if node droped as sibling then contain id of item before whitch source node will be inserted source Tree object target Tree object Returns:true - confirm drag-and-drop; false - deny drag-and-drop;
onDragIn* |  | Event raised when item draged other other dropable target ID draged item ID potencial drop landing source object target object Returns:true - allow drop; false - deny drop;
| onDrop* | Event raised after drag-and-drop processed. Event also raised while programmatic moving nodes. ID of source item (ID after inserting in tree, my be not equal to initial ID) ID of target item if node droped as sibling then contain id of item before whitch source node will be inserted source Tree object target Tree object
Editing
Before | After | Description
onEdit | onEdit | Event occurs on 4 different stages of edit process: before editing started (cancelable), after editing started, before closing (cancelable), after closed state - 0 before editing started , 1 after editing started, 2 before closing, 3 after closed id - id of edited items tree - tree object value - for stage 0 and 2, value of editor Returns:for stages 0 and 2; true - confirm opening/closing, false - deny opening/closing; text - edit value
onBeforeCheck |  | Event raised before item was checked/unchecked ID of item current check state Returns:true - allow checking; false - deny checking;
| onCheck | Event raised immideatly after item in tree was checked/unchecked. ID of item which will be checked/unchecked Current checkbox state. 1 - item checked, 0 - item unchecked.
Loading
Before | After | Description
onXLS* |  | event fires simultaneously with starting XML parsing tree object item id, for which xml loaded
| onXLE* | event fires simultaneously with ending XML parsing, new items already available in tree tree object last parsed parent id
Mouse
Before | After | Description
onMouseIn |  | Event raised immideatly after mouse hovered over item ID of item
| onMouseOut | Event raised immideatly after mouse moved out of item ID of clicked item
Opening
Before | After | Description
onOpenStart |  | Event raised immideatly after item in tree got command to open/close , and before item was opened//closed. Event also raised for unclosable nodes and nodes without open/close functionality - in that case result of function will be ignored. ID of node which will be opened/closed Current open state of tree item. 0 - item has not childs, -1 - item closed, 1 - item opened. Returns:true - confirm opening/closing; false - deny opening/closing;
| onOpenEnd | Event raised immideatly after item in tree got command to open/close , and before item was opened//closed. Event also raised for unclosable nodes and nodes without open/close functionality - in that case result of function will be ignored. ID of node which will be opened/closed Current open state of tree item. 0 - item has not childs, -1 - item closed, 1 - item opened.
onDblClick |  | Event raised immideatly after item in tree was doubleclicked, before default onDblClick functionality was processed. ID of item which was doubleclicked Returns:true - confirm opening/closing; false - deny opening/closing;
| onOpenDynamicEnd* | Event raised after openItemsDynamic loads and opens required hierarchy of items
Right Click
Before | After | Description
| onRightClick | Event occurs after right mouse button was clicked. (string) ID of clicked item (object) event object
Selection
Before | After | Description
| onClick | Event raised immideatly after text part of item in tree was clicked, but after default onClick functionality was processed. ID of clicked item ID of previously selected item
| onSelect | Event raised immideatly after selection in tree was changed selected item ID ( list of IDs in case of multiselection)
* - available only in professional version