浏览 5675 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (2) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-12-24
最后修改:2010-01-30
EXT borderLayout图解(初学有用)
Ext.onReady(function(){ var south = new Ext.Panel({ region : "south",// 布局为south margins: '5 5 5 5', collapsible: true, title : "south", height : 150, frame : true }); var north = new Ext.Panel({ region : "north",// 布局为north margins: '5 5 5 5', collapsible: true, title : "north", height : 150, frame : true }); var west = new Ext.Panel({ region : "west",// 布局为west margins: '0 5 0 5', collapsible: true, title : "west", width : 150, frame : true }); var east = new Ext.Panel({ region : "east",// 布局为east margins: '0 5 0 5', collapsible: true, title : "east", width : 150, frame : true }); var center = new Ext.Panel({ region : "center", //使用borderLayout region : "center"必须要有 title : "center", frame : true }); var win = new Ext.Window({ title : "borderLayout", layout : "border", // 定义layout width : 650, height : 500, resizabled : false, items : [south,north,east,west,center] }).show(); });
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-03-02
就是用了数组吧,呵呵,好像没用json对象
不知道LZ对于fromStore和toStore改变这个情况有没有研究过 |
|
返回顶楼 | |
发表时间:2009-07-09
我改成你这样用json的例子,结果就是不显示
|
|
返回顶楼 | |