- 注册时间
- 2016-5-18
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 11
- 精华
- 0
- 帖子
- 3
|
index里是这样的:
<div id="leftTree1" class="mini-outlookmenu" style="height:50;" url="data.txt" onitemselect="onItemSelect"
idField="id" parentField="pid" textField="text" borderStyle="border:0"
>
</div>
<div id="leftTree2" class="mini-outlookmenu" style="height:50;" url="data1.txt" onitemselect="onItemSelect"
idField="id" parentField="pid" textField="text" borderStyle="border:0"
>
</div>
然后是data.txt:
[
{ id: "right", text: "功能模块"},
{ id: "addRight", pid: "right", text: "员工信息管理", iconCls: "Note", url: "user/manager_list.html", iconPosition: "top" },
{ id: "editRight", pid: "right", text: "学生信息管理", iconCls: "Reports", url: "user/student_list.html", iconPosition: "top" },
] 请问ID: ADDRIGHT这些是什么意思? |
|