jstree 的基本数据结构是{ 
attributes: { id : "node_identificator", some-other-attribute : "attribute_value" }, 
data: "node_title", 
// Properties below are only used for NON-leaf nodes 
state: "closed", // or "open" 
children: [ /* an array of child nodes objects */ ] 
} attributes里为自定义属性,data为节点显示的文本,state值为closed时,节点前面有表示节点可以被展开的标识。还有其它写法可参考documentation.html里的Datastores段。 jstree 是动态加载子节点的
所以,你的表除了满足基本数据的存储外,至少还需要有一个指示条目归属的字段