fires when a new item is added into TreeView
| id | string|number | the item's id |
| text | string | the item's text |
| pId | string|number | the parent's id |
| index | number | the item's index |
myTreeView.attachEvent("onAddItem", function(id, text, pId, index){
// your code here
});
Back to top