0
EXT.JS でインターフェイスが主に書かれているアプリケーションを開発していますが、ext.form.combo-boxに問題があります。コンボボックスが、スタイル属性が有効であると私はそれを使用することができるかどうかわからない、私はそれを試してみましたが、そのここでは、私のために働いていない私のコードです:ext.forms.comboboxでスタイル属性を使用する
this.m_arriveByForm = new Ext.form.ComboBox({
id: 'trip-arrive-form',
name: 'arriveBy',
hiddenName: 'arriveBy',
style: {position:'relative', left:'12px'}, // style attribute i added
fieldLabel: this.locale.tripPlanner.labels.when,
store: this.m_arriveByStore,
value: this.m_arriveByStore.getAt(0).get('opt'),
displayField: 'text',
valueField: 'opt',
anchor: this.FIELD_ANCHOR,
mode: 'local',
triggerAction: 'all',
editable: false,
allowBlank: false,
lazyRender: false,
typeAhead: true,
forceSelection: true,
selectOnFocus: true,
});
私は一つだけのスタイルを追加するとき、それは動作しますルール、私が複数を追加した場合、それは動作を停止し、ayntaxエラーのように感じますが、これで私を助けることができますか?