jQuery MiniUI
标题:
这个树状除了id,text,和pid,可以多传一个字段吗?
[打印本页]
作者:
春花之石
时间:
2014-11-4 15:47:12
标题:
这个树状除了id,text,和pid,可以多传一个字段吗?
[ {id: "base", text: "Base", checked: true}, {id: "ajax", text: "Ajax", pid: "base"}, {id: "json", text: "JSON", pid: "base"}, {id: "date", text: "Date", pid: "base", checked: true}, {id: "control", text: "Control", pid: "base"}, {id: "forms", text: "Forms", pid: "base", isLeaf: false}, {id: "button", text: "Button", pid: "forms"}, {id: "listbox", text: "ListBox", pid: "forms"}, {id: "checkboxlist", text: "CheckBoxList", pid: "forms", checked: true}, {id: "lists", text: "Lists"}, {id: "datagrid", text: "DataGrid", pid: "lists"}, {id: "tree", text: "Tree", pid: "lists"}, {id: "treegrid", text: "TreeGrid ", pid: "lists"}, {id: "layouts", text: "Layouts"}, {id: "panel", text: "Panel", pid: "layouts"}, {id: "splitter", text: "Splitter", pid: "layouts"}, {id: "layout", text: "Layout ", pid: "layouts"}, {id: "navigations", text: "Navigations"}, {id: "toolbar", text: "Toolbar", pid: "navigations"}, {id: "tabs", text: "Tabs", pid: "navigations"}, {id: "outlookbar", text: "OutlookBar", pid: "navigations"}, {id: "menu", text: "Menu", pid: "navigations"}, {id: "pager", text: "Pager", pid: "navigations"}, {id: "other", text: "Other", isLeaf: false, asyncLoad: false}]
作者:
dforce
时间:
2014-11-4 16:18:18
你要做什么,数据里可以任意放字段
作者:
春花之石
时间:
2014-11-4 16:47:21
dforce 发表于 2014-11-4 16:18
你要做什么,数据里可以任意放字段
恩,但是我要让他把这个字段加到属性里面去,做一个标示,
作者:
felt
时间:
2014-11-4 16:51:56
春花之石 发表于 2014-11-4 16:47
恩,但是我要让他把这个字段加到属性里面去,做一个标示,
属性里不能加
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2