关于comboTree的代码:
<input id="comboTreeDemo" value="01"> <script> $('#comboTreeDemo').combotree({ required: true, dnd:true, checkbox:true, onlyLeafCheck:true, multiple:true, eparator:'-', data: [{ "id": 1, "text": "Node 1", "state": "closed", "children": [{ "id": 11, "text": "Node 11" },{ "id": 12, "text": "Node 12" }] },{ "id": 2, "text": "Node 2", "state": "closed" }] }); </script>
渲染