ext怎么在panel里面增加一棵树?Ext.onReady-查字典问答网
分类选择

来自顾翔的问题

  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}

  ]

  });

  });

1回答
2020-12-29 07:09
我要回答
请先登录
黄珍生

  Ext.onReady(function(){vartree=newExt.tree.TreePanel({title:"test",width:300,height:450,useArrows:true,//是否使用箭头样式autoScroll:true,//滚动条animate:true,//展开,收缩动画rootVisible:...

2020-12-29 07:11:16

最新问答

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读

  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  •