Prevent any item selection/highlighting

Hi,

I have a tree where checking an item sets a background color to its text and uses the same color in other places of the web page. The problem is, if I accidentally click on an item, it becomes highlighted with an orange background, so the original (customized) background color is not visible anymore. This is truly annoying because this color is needed to visually link each checked item in the tree with features outside the tree. Is there any way to prevent selection and/or highlighting on all items? I don’t have the pro version, so I can’t use clearSelection.

Cheers!

Hi,

you may modify the css for your tree:

<style> #treecontainer .selectedTreeRow{ background-color:trasparent; background-image:none; border:0px; } </style >

Where treecontainer is the id of the tree container (tree=new dhtmlXTreeObject(“treecontainer”,“100%”,“100%”,0):wink:

Thanks for your fast reply, it works fine!