Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by fcollier on Jan 02, 2008 13:32
open dhtmlx forum
not show highlighting upon initial load

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?
Answer posted by Stanislav on Jan 04, 2008 15:07
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 )
Answer posted by fcollier on Jan 07, 2008 09:33

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.