解决方案 »
- highcharts关于示例图的问题,请高手帮忙
- {{farm}},{{server}},{{id}},{{secret}}这些是变量还是什么?
- input type="file"的限制
- 如何动态改变和返回img的src
- noteBook技术问题
- jquery事件触发的问题
- 如何在JS的相册的图片上加上文字,不要用PS的方法
- ★★★★★JS脚本性能优化: 网页Treeview优化探讨(meizz)
- window.prompt("欢迎您的入库!!","请在此输入您的密码。")怎样隐藏密码,在线等急!!!!
- ????最怪的问题::调用子程序时不能使用括号 ??有这事吗??????????
- JQuery中easyui-combobox控件怎么从后台获取数据,然后加载到combobox控件里面去
- JQuery 与EXTJs的抉择
root: {
expanded: true,
children: [
{ text: "detention", leaf: true },
{ text: "homework", expanded: true, children: [
{ text: "book report", leaf: true },
{ text: "alegrbra", leaf: true}
] },
{ text: "buy lottery tickets", leaf: true }
]
}
});Ext.create('Ext.tree.Panel', {
title: 'Simple Tree',
width: 200,
height: 150,
store: store,
rootVisible: false,
renderTo: Ext.getBody()
});
我解决了这个问题,是数据处理问题,
多了一层data......store直接加载到root就解决了