Categories | Question details Back To List | ||
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. <a href="javascript:void(0);" onclick="tree.bE(tree.ah(),true);">delete</a> 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 Answer posted by Stanislav on Jan 04, 2008 14:22 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. <a href="javascript:void(0);" onclick="tree.deleteItem(tree.getSelectedItemId(),true);">delete</a> |