2 回答
TA贡献1864条经验 获得超6个赞
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | [{ "id":1, "text":"Folder1", "iconCls":"icon-ok", // 这个属性可以设置图标,是一个css类 "children":[{ "id":2, "text":"File1", "checked":true },{ "id":3, "text":"Folder2", "state":"open", "children":[{ "id":4, "text":"File2", "attributes":{ "p1":"value1", "p2":"value2" }, "checked":true, "iconCls":"icon-reload" },{ "id": 8, "text":"Folder3", "state":"closed", "children":[{ "id":9, "text":"File31" },{ "id":10, "text":"File32" }] }] }] },{ "text":"Languages", "state":"closed", "children":[{ "id":"j1", "text":"Java" },{ "id":"j2", "text":"C#" }] }] |
- 2 回答
- 0 关注
- 778 浏览
添加回答
举报