插件详细
{$.ligerui.controls.Tree}
ligerTree
- 描述:
- 1,使一段html配置为树结构。
- 2,通过data json对象配置为树结构。
- 3,通过ajax json对象配置为树结构。
- 例子:
$("#tree1").ligerTree({
data: [
{ text: '节点1', children: [
{ text: '节点1.1' },
{ text: '节点1.2' },
{ text: '节点1.3', children: [
{ text: '节点1.3.1' },
{ text: '节点1.3.2' }
]
},
{ text: '节点1.4' }
]
},
{ text: '节点2' },
{ text: '节点3' },
{ text: '节点4' }
]
});
- 返回值:
- {$.ligerui.controls.Tree} Tree 组件管理器