ext怎么在panel里面增加一棵树?Ext.onReady(function(){newExt.Panel({renderTo:"hello",title:"",//面板头部headerwidth:300,height:500,border:false,layout:"border",items:[{region:"south",height:400,width:100,id:'panel_hello',title:"t1",b
ext怎么在panel里面增加一棵树?
Ext.onReady(function(){
newExt.Panel({
renderTo:"hello",
title:"",//面板头部header
width:300,
height:500,
border:false,
layout:"border",
items:[
{region:"south",
height:400,
width:100,
id:'panel_hello',
title:"t1",
border:false,
titleCollapse:false,//标题栏任何地方可点击
hideCollapseTool:false,//不显示右上角上的收缩按钮
collapsible:false,//右上角上的那个收缩按钮,设为false则不显示
frame:false,
collapsed:true,//如果为true,将panel渲染成收缩的,否则渲染成展开的(默认值为false).
bodyStyle:"background-color:#313538;padding:100100",//改变panel的底色
html:'111'},
{region:"center",
title:"t2",
border:false}
]
});
});