thanks for your answer

i get error as i debug it follow you ,and the error is “Object does not support this property or method”.
my dhtmlXtree version is 1.3 and i use dhtmlxMenu too.
any conflict?
or any other way please?

Such problem mostly occurs when method can’t be found
- necessary js file not loaded
- the correct names of methods used

If issue still occurs for you - please provide any kind of sample where it can be reconstructed.