Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Danile on Feb 06, 2008 19:57
open dhtmlx forum
Adding extra parameter to the URL when enabling filtering mode

Hi,
You know when you do:
xcombobox.enableFilteringMode(true,someURL,true, true);

your URL will be called for any character gets typed by the user which gets passed as a request parameter called "mask". Is there a way to pass extra parameters (dynamicaly) along with that mask just before the url is called? Bear in mind the extra parameter is not static and could have any value based on customer selection.

Thanks for the great service..!


Danile
Answer posted by Support on Feb 07, 2008 05:11
There is no ready to use API, but you can set any additional params in next way

var combo=new....
....
//combo.setFilteringParam(name,value)
combo.setFilteringParam("pid","121");

to clear previously set params

combo._prs=null;