Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2290038
  • 博文数量: 266
  • 博客积分: 5485
  • 博客等级: 大校
  • 技术积分: 3695
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-20 11:05
个人简介

多读书,多做事,广交朋友,趣味丛生

文章分类

全部博文(266)

分类: Python/Ruby

2011-06-23 16:13:50

Ext.onReady(function(){
     new
Ext.Viewport({
           forceFit
: true,
           hideMode
: "offsets",
           layout
: "border",
           defaults
: {autoScroll: true},
           items: [ { region: "north", contentEl: "north-panel-container-id", },
                        { region: "center", contentEl: "center-panel-container-id", autoScroll: true }, ] }) });
如果不生效,则设置:
height:500,
 autoScroll:true,


阅读(15470) | 评论(0) | 转发(0) |
0

上一篇:EXT JS调试

下一篇:ExtJs 刷新页面

给主人留下些什么吧!~~