1. #1
    Sencha User
    Join Date
    Mar 2010
    Location
    Moscow, Russia
    Posts
    25
    Vote Rating
    0
    nee is on a distinguished road

      0  

    Default How to store.setBaseParams?

    How to store.setBaseParams?


    How to set/override new extraParams in store(proxy) config?

    It's possible to make store.load({params: {name: value}}), but how to set new params and then call store.load()?

  2. #2
    Sencha User
    Join Date
    Mar 2010
    Location
    Moscow, Russia
    Posts
    25
    Vote Rating
    0
    nee is on a distinguished road

      0  

    Default


    Finally I found how to do it:

    Code:
    store.getProxy().extraParams.param_name = 'param_value';
    And there is no 'extraParams' property of proxy in the docs.

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    AndreasG is on a distinguished road

      0  

    Default function setExtraParams

    function setExtraParams


    Or create a function as needed:
    PHP Code:
    Ext.override(Ext.data.proxy.Server, {
        
    setExtraParams: function(myExtraParams){
            return 
    Ext.applythis.extraParamsmyExtraParams );
        }
    }); 
    So you can set a bundle of params.

Similar Threads

  1. Replies: 0
    Last Post: 12 Feb 2011, 4:38 AM
  2. Replies: 4
    Last Post: 23 Aug 2010, 12:44 PM
  3. [RESOLVED] Combo store loads when trigger pressed -even when store is loaded!
    By dlgoodchild in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Aug 2009, 1:46 PM
  4. Replies: 2
    Last Post: 29 Jul 2009, 9:12 AM
  5. Replies: 5
    Last Post: 12 Jul 2009, 10:42 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar