I am currently using the dhtmlxtree in a testing scenario. I load the tree through XMLAutoLoading. I’ve noticed that the last node of the tree is automatically highlighted even though it is not selected. Is there a way to prevent this highlighting until the node is actually selected?
There is no such automatic behavior.
It can be caused by
- “selected” attribute in XML
- some custom code attached to “onXLE” or similar event
- some methods, such as openItemsDynamic has optional mode in which last item in list will be selected ( can be disabled, controlled by second parameter of command )
Thank you. After some work, I finally just took out the select attribute from my xml and it worked nicely. For some reason, setting the select attribute to false was not working. Again, thank you for your time.