- 注册时间
- 2012-6-12
- 最后登录
- 2012-12-26
- 阅读权限
- 10
- 积分
- 273
- 精华
- 0
- 帖子
- 79
|
factory 发表于 2012-9-13 17:09
[{"name":"行政部", "id":"xz", expanded: true}]
类似这样,加在父节点上
我的json代码里已经 设置了 '权限管理' 这个节点为 expanded: true 了 ,但没用啊 ,请教,谢谢
[
{id: "user", text: "用户管理",expanded: true},
{id: "lists", text: "Lists", pid: "user" },
{id: "datagrid", text: "DataGrid", pid: "lists"},
{id: "tree", text: "Tree" , pid: "lists"},
{id: "treegrid", text: "TreeGrid " , pid: "lists"},
{id: "layouts", text: "Layouts", expanded: false, pid: "user"},
{id: "panel", text: "Panel", pid: "layouts"},
{id: "splitter", text: "Splitter", pid: "layouts"},
{id: "layout", text: "Layout ", pid: "layouts"},
{ id: "right", text: "权限管理",expanded: true},
{id: "base", text: "Base", expanded: false, pid: "right" },
{id: "ajax", text: "Ajax", pid: "base"},
{id: "json", text: "JSON", pid: "base"},
{id: "date", text: "Date", pid: "base"},
{id: "forms", text: "Forms", expanded: false, pid: "right"},
{id: "button", text: "Button", pid: "forms"},
{id: "listbox", text: "ListBox", pid: "forms"},
{id: "checkboxlist", text: "CheckBoxList", pid: "forms"},
{id: "radiolist", text: "RadioList", pid: "forms"},
{id: "calendar", text: "Calendar", pid: "forms"}
]
|
|