Filter on exact value

Hi,
I’m trying to find a way to show only the exact filter. (Header Filters) We are using 5.0.8 PRO
For example
If I have in a column RTF_DETAILS and RTF_DETAILS_INVOICE I only want to see the rows containing RTF_DETAILS.

For now it always shows the 2 options.

This is the grid I initialized

grid_file_tables.setHeader([“File”,“Tables”,“Path”]);
grid_file_tables.setColTypes(“ro,txt,ro”);
grid_file_tables.attachHeader(’#combo_filter,#combo_filter,’);
grid_file_tables.setColSorting(‘str,str,str’);
grid_file_tables.setInitWidths(’,,*’);
grid_file_tables.attachEvent(“onXLS”,function(){myTabbar.tabs(“tab_Used_Tables”).progressOn();});
grid_file_tables.attachEvent(“onXLE”,function(){myTabbar.tabs(“tab_Used_Tables”).progressOff();});
grid_file_tables.attachEvent(“onRowDblClicked”,openFileUsedTables);

any idea how I can achieve that?

Thx

Please, try to include the following code:

dhtmlXGridObject.prototype._in_header_combo_filter_strict=function(t,i){ t.innerHTML="<div style='width:100%; padding-left:2px; overflow:hidden; ' class='combo'></div>"; t.onselectstart=function(){ return (event.cancelBubble=true); } t.onclick=t.onmousedown=function(e){ (e||event).cancelBubble=true; return true; } this.makeFilter(t.firstChild,i); t.firstChild._filter=function(){ if (t.firstChild.value=="") return ""; var value = t.firstChild.value.toLowerCase(); return function(val){ return (val.toString().toLowerCase()==value); }; }; this._filters_ready(); }
and use the “#combo_filter_strict” instead of “#combo_filter