- 注册时间
- 2016-8-12
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 174
- 精华
- 0
- 帖子
- 23
|
<div width="60" field="code" headerAlign="center"
type="treeselectcolumn">
代码<input property="editor" class="mini-treeselect"
data="ceshi" multiSelect="true" textField="text"
valueField="id" parentField="pid" allowInput="true"
style="width: 98%;" /></div>
var ceshi = [ {
id : "base",
text : "Base",
}, {
id : "ajax",
text : "Ajax",
pid : "base",
isLeaf : true
}, {
id : "json",
text : "JSON",
pid : "base",
isLeaf : true
}, {
id : "date",
text : "Date",
pid : "base",
checked : true
}, {
id : "control",
text : "Control",
pid : "base"
}, {
id : "other",
text : "Other",
isLeaf : false,
asyncLoad : false
} ];
这样的
|
|