Hi!
I’m getting the values from my grid by using a web service. And I’m trying to remove some unwanted results from the grid by using the filter function.
This is how it looks right now:
var addfilter = function(){
var fnameFilterGroup = new $.jqx.filter();
var filtervalue = “test”;
var filtercondition = “contains”;
var filter1 = filtergroup.createfilter(‘stringfilter’, filtervalue, filtercondition);
filtergroup.addfilter(filter1);
$(“#jqxgrid”).jqxGrid(‘addfilter’, ‘Type’, filtergroup);
$(“#jqxgrid”).jqxGrid(‘applyfilters’);
}
So, I’m basically want to remove all cells that contains “test” from the column named “Type”.
Shouldn’t this work?