I have a text box independent of the grid. After typing some text in the box, and hitting enter, I want only those rows to be displayed in the grid that have matching text in any of the columns. Note that I am not looking for column filter provided by API.
Please advise, thanks.
You may try to use the filterBy() method.
For example:
// input_text - text in your input
myGrid.filterBy(0, function(data,id){
for(var i=0; i<myGrid.getColumnsNum();i++){
if (myGrid.cells(id,i).getValue()== input_text) return true;
}
return false;
});