ExtJs嵌套布局
来源:互联网 发布:excel2010重复数据筛选 编辑:程序博客网 时间:2024/06/11 11:39
不说费话,先看图片:
再看代码:
Ext.onReady(function() {
var innerCenterPanel = new Ext.Panel({
title : 'innerCenter',
region : 'center'
});
var innerBottomPanel = new Ext.Panel({
title : 'innerBottom',
region : 'south',
height : 100
});
var innerPanel = new Ext.Panel({
title : 'Main Content',
region : 'center',
margins : '5 0 0 0',
layout : 'border',
items : [innerCenterPanel, innerBottomPanel]
});
var northPanel = new Ext.Panel({
title : 'North Panel',
region : 'north',
height : 100,
minSize : 75,
maxSize : 250,
margins : '5 5 0 5'
});
var westPanel = new Ext.Panel({
title : 'West Panel',
region : 'west',
margins : '5 0 0 5',
cmargins : '5 0 0 5',
width : 200,
minSize : 100,
maxSize : 300,
split : true,
collapsible: true
});
var eastPanel = new Ext.Panel({
title : 'East Panel',
region : 'east',
margins : '5 0 0 0',
width : 200,
minSize : 100,
maxSize : 300,
split : true,
collapsible: true
});
var border = new Ext.Panel({
title : 'Border Layout',
renderTo : document.body,
layout : 'border',
width : '100%',
height : 500,
items : [northPanel,westPanel,innerPanel,eastPanel]
});
});
- ExtJs嵌套布局
- EXTJS 布局
- ExtJs 布局
- ExtJs布局
- extjs布局
- Extjs-布局
- extjs布局
- extjs 布局
- extjs 布局
- Extjs-布局
- EXTJs 布局
- extjs 布局
- extJs布局
- Extjs布局
- ExtJS 布局
- Extjs布局
- Extjs 4 Grid 嵌套
- extjs 布局 layout---Table布局
- Spring Flex BlazeDS
- Http cookie(from http://en.wikipedia.org/wiki/HTTP_cookie)
- 关于ajax 上传图片 enctype="multipart/form-data"的问题
- TCP的重传机制(转)
- Activex开发GIS的问题
- ExtJs嵌套布局
- 版本控制--Mercurial与Eclipse的整合¶
- QT数据库-获取记录数目
- COM控件传值问题
- JTable单元格添加按钮
- 查询某表中存在重复的记录
- C++与C#之不同
- OllyDbg通用快捷键
- 版本小贴士