目的: V1060302-實體定更定檢清單- [編輯][存檔]後, Query的高度變大
如何處理
如何處理
處理說明: 1> Query的高度設為固定
var Query = new Ext.FormPanel({
id: 's_form',
height:100,
layout: { type: 'hbox', align: 'stretch' },
var Query = new Ext.FormPanel({
id: 's_form',
height:100,
layout: { type: 'hbox', align: 'stretch' },
2> 按[存檔]後,重新顯示資料
Ext.getCmp('btn_save').setFormValue = function () {
Ext.getCmp('btn_Show').fireHandler();
return true;
};
1>*.js
//篩選條件畫面
var Query = new Ext.FormPanel({
id: 's_form',
layout: { type: 'hbox', align: 'stretch' },
fieldDefaults: { labelAlign: 'right' },
defaults: { margin: { top: 3 } },
height: 100,
items: [
{
xtype: 'panel', id: 'panel1', layout: { type: 'hbox', align: 'stretch' }, flex: 14, border: 0,
items: [
{
xtype: 'panel', id: 'panel11', layout: { type: 'vbox', align: 'stretch' }, flex: 25, border: 0,
items: [cmp_PROJID, cmp_TYPE,],
}, // end of panel11
{
//按存檔後,重新顯示資料
Ext.getCmp('btn_save').setFormValue = function () {
Ext.getCmp('btn_Show').fireHandler();
return true;
};
沒有留言:
張貼留言