Results 1 to 3 of 3

Thread: In combobox how to send more than one params apart fron default 'query'

  1. #1

    Post In combobox how to send more than one params apart fron default 'query'

    Hi All,

    In combo box in remote mode need to send more than one parameters to server for filtering the results, so how i can do that..any clue..
    One default parameter i saw is 'query' which is beign sent to server, how i can send more than one..my parameters from that DOM..

    Thanks in Advance..

  2. #2

    Default

    I found way, not sure thats the best way but solves the problem..
    I have registered for beforequery event and added whatever params needed in and replaced query value with the new value...

    combo.on('beforequery',function(qe){
    var pickListNaame=this.getName();
    var filterParamsMap=collectFilterParams(pickListNaame);
    var filterParams="&segVal="+filterParamsMap["segVal"];
    filterParams += "&objVal="+filterParamsMap["objVal"];
    filterParams += "&meaVal="+filterParamsMap["meaVal"];
    qe.query=filterParams;
    delete qe.combo.lastQuery;
    //return false;
    });

    so u will recieve all the values in the request parameter name 'query'
    and u have to use it..

  3. #3
    Sencha User
    Join Date
    Jan 2009
    Location
    Manchester, UK
    Posts
    21

    Default

    Have you tried the baseParams config option in the store?

Similar Threads

  1. In combobox how to send more than one params apart fron default 'query'
    By sivaengn in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 May 2010, 11:14 AM
  2. ComboBox and query params ...
    By armandoxxx in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 11 Feb 2009, 11:31 AM
  3. Combobox in EditorGrid won't send in right query
    By BlackLoter in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 13 Jan 2009, 9:42 AM
  4. ComboBox doesn't send Ajax on query!
    By amwmedia in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 17 Apr 2008, 11:53 AM
  5. ComboBox don't send Params
    By nteknetium in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 1 Aug 2007, 8:40 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •