1
Extjsはしばらく使用されていませんでしたが、少し錆びました!Extjs Comboboxがアイテムを選択できません
私は、次のコンボボックスがあります。
コード:負荷と全体の先行入力もの罰金を行い
NameSpace.DirectCombo = Ext.extend(Ext.form.ComboBox, {
displayField: 'Name',
valueField: 'Id',
triggerAction: 'all',
queryAction: 'Name',
forceSelection: true,
mode: 'remote',
initComponent: function() {
this.store = new Ext.data.DirectStore(Ext.apply({
api: this.api,
root: 'data',
fields: this.fields || ['Name', 'Id']
}, this.storeConfig));
NameSpace.DirectCombo.superclass.initComponent.call(this);
}
});
NameSpace.LocationCombo = Ext.extend(NameSpace.DirectCombo, {
storeConfig: {
id: 'location-combo-store'
},
initComponent: function() {
Ext.apply(this.storeConfig, {
directFn: Location.AllHasLineupList,
baseParams: { Id: selectedNodeId }
});
NameSpace.LocationCombo.superclass.initComponent.call(this);
}
});
を。
しかし、私が提案の項目を選択しようとすると、それは選択されません!
私はここで間違っていますか?
ねえ、おかげで、そのために - 私はこの後の今日をチェックして、返されます:) – iwayneo