ビュー:チェーン・コンボボックスのExtJSれるgetFilterエラー
{
xtype: 'combo',
anchor: '100%',
reference: 'il',
fieldLabel: 'İl',
name: 'il',
forceSelection: true,
typeAhead: true,
displayField: 'il',
store: 'il',
cls :'text-font',
baseCls :'fieldcolor',
valueField: 'il'
},
{
xtype: 'combobox',
anchor: '100%',
reference: 'ilce',
fieldLabel: 'İlce',
name: 'ilce',
forceSelection: true,
typeAhead: true,
displayField: 'ilce',
store: 'ilce',
filters: {
property: 'il',
value: 'ilid'
},
cls :'text-font',
baseCls :'fieldcolor',
valueField: 'ilce'
},
モデル:別のモデル
Ext.define('ertg.model.ilmodel', {
extend: 'Ext.data.Model',
fields: [
{
name: 'il'
},
{
name: 'ilid'
}
]
});
:
Ext.define('ertg.model.ilcemodel', {
extend: 'Ext.data.Model',
fields: [
{
name: 'ilce'
},
{
name: 'ilid'
}
]
});
こんにちはみんなは、この私のコンボボックスは、この.ERRORエラーが実行されます。キャッチされませんTypeError:me.store.getFiltersは関数ではありません at constructor.onEndUpdateFilters
Whats Problem ??
おかげ
エルトゥールル
店舗コード「il'」と「ilce」を共有してください。両方のストアが 'Ext.data.Store'を拡張していることを確認してください。 – Alexander
店舗を共有しています。コードを管理しています –