use extra params in store dynamically

前端 未结 5 2888
鱼传尺愫
鱼传尺愫 2021-02-20 17:59

I have a form. In the form, I am using a comboBox with a store.

{
    xtype: \'combobox\',
    id: \'SubContractor\',
    name: \'SubCo         


        
5条回答
  •  北海茫月
    2021-02-20 18:43

    In Chrome and FF even this will work:

    store.proxy.extraParams.foo= 'bar';
    

    But in IE8 (had this problem personally) got to do it the way mentioned by Evan

    store.proxy.extraParams = {foo: 'bar'};
    

    Check this...

提交回复
热议问题