Smart JSON parsing
The smartXMLParsing mode can work with JSON as well ( when the type of loaded data has been changed, all other API remains the same ). The tree in the example contains about 10000 nodes.
The smartXMLParsing mode can work with JSON as well ( when the type of loaded data has been changed, all other API remains the same ). The tree in the example contains about 10000 nodes.
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtree.css"> <script src="../../codebase/dhtmlxcommon.js"></script> <script src="../../codebase/dhtmlxtree.js"></script> <script src="../../codebase/ext/dhtmlxtree_json.js"></script> <div id="treeboxbox_tree" style="width:250px; height:218px;background-color:#f5f5f5;border :1px solid Silver;; overflow:auto;"></div> <br> <script></script> <br><br>tree = new dhtmlXTreeObject("treeboxbox_tree", "100%", "100%", 0); tree.setSkin('dhx_skyblue'); tree.setImagePath("../../codebase/imgs/csh_bluebooks/"); tree.enableSmartXMLParsing(true); tree.loadJSON("../common/big_data.json");