Categories | Question details Back To List | ||
dhtmlxTree findItem Dear DHTMLX, I have a problem using dhtmlxTree findItem function. If I use enableSmartRendering, the findItem will not search the first node of the tree. To reproduce the behaivour, in your search sample (dhtmlxTree/samples/selection_sorting_navigation/pro_search.html) comment the line 67 (tree.enableSmartXMLParsing(true);) and then add "tree.enableSmartRendering(true);". The code should be: <script> tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0); tree.setImagePath("../../codebase/imgs/csh_bluebooks/"); tree.enableSmartRendering(true); //tree.enableSmartXMLParsing(true); tree.loadXML("tree3.xml") </script> Now, try to search for "Books". You will notice that you will get no result, even though the "Books" node is the first one and is always rendered. If you search for example for "History", everything is OK. I tested using Firefox 3.0.13 and Internet Explorer 7. Thank you, Cosmin Popescu Answer posted by Support on Sep 01, 2009 11:16 Problem is confirmed. Fix will be available in few days. Answer posted by Cosmin Popescu on Sep 04, 2009 02:12 Thank you for the reply. Could you please let me know when you have a fix? Answer posted by Alex (support) on Sep 08, 2009 04:15 Hello, the fix is ready. It will be sent by email. |