解决方案 »
- javascript 自定义 alert、confirm、prompt
- 严重: Servlet.service() for servlet [jsp] in context with path [/mybbs] threw exce
- js控制flash制作的进度条
- js保存窗口问题
- 困饶我很久的图片切换问题
- 请大家看看我这个得到某年某月的第几个星期几的日期的函数的问题
- 怎样获取、设置textarea光标位置,且兼容ie?
- jquery IE8下 attr的bug? 怎么解决
- 请教两个问题(删除文件、流程定议)
- 急急急!!!此句如何解释?
- 关于Jquery easyUI 的版本问题
- 求一排列算法
var store = Ext.create('Ext.data.TreeStore', {
root: {
expanded: true,
children: [
{ text: "detention", leaf: true },
{ text: "homework", expanded: true, children: [
{ text: "book report", leaf: true },
{ text: "algebra", 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()
});