Why have double action on tree?

on the first time i loadXML for draw tree and when i click on some node on tree.it have one action. that right.

but on same tree i use DhxTreeList.deleteChildItems(0); and loadXML again. When i click on node it have action 2 time.

and when DhxTreeList.deleteChildItems(0); and loadXML again. it have action 3 time.


Do you define action only once, or each time after grid loading?
Please beware that already attached actions not removed when tree reloaded with new data



If problem still occurs - please provide a code snippet, used for attaching events to the tree.