Required library edition:
Required library file: dhtmlxgrid_filter.js
filter grid by mask
//filter grid by 2nd column by value "alf" mygrid.filterBy(1,"alf"); //filter grid by 2nd column with more comlex rule mygrid.filterBy(1,function(data){ return data.toString().indexOf("alf")!=-1; // true - show the related row , false - hide the related row }); //filter current grid state by 3rd column by value "Omega" mygrid.filterBy(2,"Omega",true);
See also: filterByAll, findCell, makeFilter, getFilterElement