Can't delete items in my dhtmlxtree

I’m trying to delete objects from my tree but i get a javascript error when i use the code below, taken from this site.



delete



I can see the reason why it doesn’t work as it’s referencing tree.bE(tree.ah()) but i can’t see how to name my tree.



Many thanks



Nick Lowman

Please use API from documentation, or code from files which included in packages ( package contain all samples available at site ) - the code on site is obfuscated.

delete