DHTMLXTree

We have the license for the Standard Edition of DHTMLXtree 1.5.

Currently we are using Professional edition 1.6 (sent as patch to us)



We have a page with two trees and using event - tree.enableSmartRendering(true);

Used the following syntax to load the page.

tree.setXMLAutoLoading(“jsp/user/laborallocation/EmployeeXml.jsp”);

tree.loadXML(“jsp/user/laborallocation/EmployeeXml.jsp?id=0”);

Each tree is having more than 1000 nodes with four levels.

I also have a Find Button in my screen to search these trees. But it is unable to search untill the node is explicitly expanded.

We are also facing some problem using openAllItems() function to expand.

Please suggest how we can search the complete tree without getting expanded.

Please suggest how we can search the complete tree without getting expanded.

If you use Auto Loading functionality, it is not possible to search in the whole tree without expanding all nodes.  As child items are loaded when their parent is opened first time and the search can not be carried out in unloaded items.

The only way is a server-side search, but you should do it yourself.

>> We are also facing some problem using openAllItems() function to expand.

openAllItems() was fixed. But it works very slow - Smart Rendering works with very large trees and their opening/rendering takes much time. If you need such a functionality,  please contact us directly at support@dhtmlx.com - we will provide latest version of js file.