參考示例:節(jié)點拖拽投放
創(chuàng)建代碼
<ul id="tree1" class="mini-tree" url="../data/tree.txt" style="width:200px;padding:5px;"
showTreeIcon="true" textField="text" idField="id"
allowDrag="true" allowDrop="true">
</ul>
- allowDrag:允許拖拽節(jié)點
- allowDrop:允許投放節(jié)點