var west = new Ext.Panel({
collapsible: true,
border: false,
width: 200,
layout: "column",
layoutConfig: {
animate: true
},
region: "west",
title: '查询条件',
items: [new Ext.Panel({ autowidth: true, autoheight:true, title: '', items: [
{
xtype: 'textfield',
fieldLabel: '类型',
name: 'totaltype',
readOnly: true
}, {
xtype: 'textfield',
fieldLabel: '金额',
name: 'totalmoney',
readOnly: true
}, {
xtype: 'textfield',
fieldLabel: '时间',
name: 'totaltime',
readOnly: true
}, {
xtype: 'textarea',
fieldLabel: '描述',
name: 'totalre',
readOnly: true
}]
})]
});
collapsible: true,
border: false,
width: 200,
layout: "column",
layoutConfig: {
animate: true
},
region: "west",
title: '查询条件',
items: [new Ext.Panel({ autowidth: true, autoheight:true, title: '', items: [
{
xtype: 'textfield',
fieldLabel: '类型',
name: 'totaltype',
readOnly: true
}, {
xtype: 'textfield',
fieldLabel: '金额',
name: 'totalmoney',
readOnly: true
}, {
xtype: 'textfield',
fieldLabel: '时间',
name: 'totaltime',
readOnly: true
}, {
xtype: 'textarea',
fieldLabel: '描述',
name: 'totalre',
readOnly: true
}]
})]
});
解决方案 »
- 求助,EXTJS问题
- 【【看看这段简单的代码为何看不到loading效果???】】
- mztreeview 2.0中如何得到所有被选中(checked)的节点的信息
- form中通过name获得对象
- 关于一个修改个人资料的下拉列表问题??
- 关于一js的实现.
- 一个刷新问题,跟以前不相同,请大家过来看看
- 谁能帮我把这些vbs函数翻译成jscript的方法或函数?
- 请问:用window.open()怎样去掉窗口的最大化和最小化按钮,只显示关闭按钮???
- jquery取不到hiddenfield的值
- 如何实现纯html前端自定义控件?
- JavaScript 的 skyline 的 截图功能???高手求助~~
collapsible : true,
renderTo : Ext.getBody(),
border : false,
width : 300,
frame : true,
layout : "column",
layoutConfig : {
animate : true
},
region : "west",
title : '查询条件',
items : [new Ext.Panel({
autoWidth : true,
autoHeight : true,
layout : 'form',
title : '',
items : [{
xtype : 'textfield',
fieldLabel : '类型',
name : 'totaltype',
readOnly : true
}, {
xtype : 'textfield',
fieldLabel : '金额',
name : 'totalmoney',
readOnly : true
}, {
xtype : 'textfield',
fieldLabel : '时间',
name : 'totaltime',
readOnly : true
}, {
xtype : 'textarea',
fieldLabel : '描述',
name : 'totalre',
readOnly : true
}]
})]
});
})
最主要的 需要指定Panel的布局layout