博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 1 data: [
 2                 { text: '节点1', icon: myaccount, children: [
 3                     { text: '节点1.1', icon: archives },
 4                     { text: '节点1.2', icon: archives },
 5                     { text: '节点1.3', icon: myaccount, children: [
 6                          { text: '节点1.3.1', icon: archives },
 7                          { text: '节点1.3.2', icon: archives }
 8                     ]
 9                     },
10                     { text: '节点1.4', icon: archives }
11                  ]
12                 },
13                 { text: '节点2', icon: memeber },
14                 { text: '节点3', icon: memeber },
15                 { text: '节点4', icon: memeber }
16             ]

 然后使用 LigerUI中的Tree控件,就可以列出无限极分类.....

posted on 2014-02-14 09:59    阅读(867)  评论(0编辑  收藏  举报