------------------------------记事本系列
ztree的树形结构:
{"id":1,"pId":0,"name":"父节点一"},{"id":2,"pId":0,"name":"父节点二"},{"id":11,"pId":1,"name":"子节点一"},{"id":12,"pId":1,"name":"子节点二"},{"id":13,"pId":2,"name":"子节点三"},{"id":14,"pId":2,"name":"子节点四"}
easy UI树形结构数据实例:
data:[
{id:0,text:"全部",children:[
{id:"1",text:"node1"},
{id: 2, text:"node2"},
{id:"3", checked:true,text:"node3"}, //复选框有效可用checked属性
{id:"5",text:"node4",children:[
{id:"5",text:"node4-1",iconCls:"icon-save"},
{id:"6",text:"node4-1"}
]}