2つのコンボボックスがあるパネルがあります。コンボ ボックスの横にボタンを追加する必要があります。コンボ ボックスとボタンの両方が同じ行にある必要があります。以下は私のパネルです。
filterPanel = new Ext.Panel({
renderTo: document.body,
bodyStyle: 'padding-top: 6px;',
title: 'Filters',
collapsible: true,
collapsed: true,
shadow: 'sides',
width: 400,
frame: true,
floating: true,
layout: 'form',
labelWidth: 150,
buttonAlign: 'center',
items: [
{
xtype: 'combo',
id: 'xFilter',
width: 200,
listWidth: 200,
fieldLabel: 'Filter',
store: filterStore,
displayField:'filterDisp',
valueField:'filterVal',
typeAhead: true,
editable: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
selectOnFocus:false
},{
xtype: 'combo',
id: 'xStatus',
width: 200,
listWidth: 200,
fieldLabel: 'Status',
store: statusStore,
displayField:'statusDisp',
valueField:'statusVal',
typeAhead: true,
editable: false,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
selectOnFocus:false
}
]
});
最初のコンボボックスとボタンの両方が同じ行になるように、ボタンを最初のコンボボックスに隣接させる必要があります。誰かがこれについて私を助けてもらえますか?
前もって感謝します...