jQuery MiniUI 开发教程 树形控件 创建树:树形结构(一)
创建树:树形结构
参考示例:Tree树形控件
创建Tree
<ulid="tree1"class="mini-tree"url="../data/tree.txt"style="width:300px;padding:5px;"
showTreeIcon="true"textField="text"idField="id">
</ul>
数据结构:树形
通过url返回的数据结构如下:
[
{id:"base",text:"Base",expanded:false,
children:[
{id:"ajax",text:"Ajax"},
{id:"json",text:"JSON"},
{id:"date",text:"Date"},
{id:"control",text:"Control"},
{id:"messagebox",text:"MessageBox"},
{id:"window",text:"Window"}
]
},
...
]
相关推荐
guoyun0 2020-05-17
大慧 2020-04-20
Lophole 2020-02-18
swiftwwj 2020-01-08
lixiaotao 2020-01-04
火星的你 2017-02-17
SYLASLINUX 2019-03-05
llcode 2019-08-30
Moabi 2015-02-25
bigcactus 2012-03-25
terabits的钵壳 2012-03-24
SenZendao 2019-07-01
rosekissyou 2015-05-13
田智文 2019-06-29
gjcxywwx 2019-06-28
CodeTerminator 2017-02-17
fandong 2012-07-30
gd0 2012-04-18