level 1
波澜不惊🌞🌞🌞
楼主
构建一个页面,最上面的表是主表,第二个表是子表,第三个表是孙表,上下进行排列。
我写了一个,但子表与孙表是左右排列的,想上下排列,但不知道怎么实现。下面是我的代码:
var funLayout = new Ext.Panel({
border:false,
layout:'border',
items:[{
pagetype:'grid',
title: title,
region:'north',
height:280,
layout:'fit',
split:true,
border:false
},{
pagetype:'subgrid',
region:'center',
layout:'border',
border:false,
items:[{
pagetype:'subgrid',
title: Jxstar.findNode(zsubid).nodetitle,
region:'west',
layout:'fit',
width:500,
split:true,
border:false
},{
pagetype:'subgrid',
title: Jxstar.findNode(ssubid).nodetitle,
region:'center',
layout:'fit',
border:false
}]
}]
});
2015年08月05日 04点08分
1
我写了一个,但子表与孙表是左右排列的,想上下排列,但不知道怎么实现。下面是我的代码:
var funLayout = new Ext.Panel({
border:false,
layout:'border',
items:[{
pagetype:'grid',
title: title,
region:'north',
height:280,
layout:'fit',
split:true,
border:false
},{
pagetype:'subgrid',
region:'center',
layout:'border',
border:false,
items:[{
pagetype:'subgrid',
title: Jxstar.findNode(zsubid).nodetitle,
region:'west',
layout:'fit',
width:500,
split:true,
border:false
},{
pagetype:'subgrid',
title: Jxstar.findNode(ssubid).nodetitle,
region:'center',
layout:'fit',
border:false
}]
}]
});