Categories | Question details Back To List | ||
dhtlmXtree: enableMultiLineItems I am not able to get enableMultiLineItems to work correctly. Some items are wrapping to the DIV area, but others are not. Below is my code. Is there anything else I need to do in the code? Is there anything special that I need to put in the XML data? <script src="../../codebase/dhtmlxcommon.js"></script> <script src="../../codebase/dhtmlxtree.js"></script> <script src="../../codebase/ext/dhtmlxtree_lf.js"></script> <table> <tr> <td> <div id="treeboxbox_tree" style="width:250; height:218;background-color:#f5f5f5;border :1px solid Silver;; overflow:auto;"/> </td> <td style="padding-left:25" valign="top"> content goes here </td> </tr> </table> <script> tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0); tree.setImagePath("../../codebase/imgs/"); tree.enableTreeLines(false); tree.enableMultiLineItems(true); tree.enableSmartXMLParsing(true);//false to disable //the following is to fix the IE image caching issue tree.enableIEImageFix(true); tree.loadXML("tree3.xml"); </script> Answer posted by Support on Jun 28, 2008 04:06 There is no any special steps required. The same code works correctly in local samples. If necessary you can directly deny horizontal scroller by adding next line tree.allTree.style.overflowX="hidden" if problem still occurs for you - please provide any kind of sample where issue can be reconstructed. |