Hi,
Here’s what I want to do. I want the combo in the header filter to keeps all its value in the dropdown when a value is selected.
I’ve read on enableFilteringMode(false) from the combo control which I think does this. Am I right?
If so how do I get hold of the combo control from the filtering attached header to change its properties?
The combo is attached using an attached header with #combo_filter
Thank you.
David Charron
There is no way to access combo object for in-header filter, but you can change the logic directly in code
dhtmlxgrid_filter.js , line 167
dhtmlXGridObject.prototype.makeFilter=function(id,column,preserve){
…
var z=new dhtmlXCombo(id,"_filter",“90%”);
z.enableFilteringMode(true); //just comment this line
Thank you.
It worked.
It would be nice to have an option to change this without modifying the code.