I have tried what this person has done, and it works flawlessly, thank you for this post:
Search All Columns in KendoUI Grid
however, the problems I am having now is that when you try to search more than one column at a time, as soon as you space to a new word it no longer works as well.
how do I tell it to ignore the spaces and keep searching contains?
so if you search "Verizon LTE" when I search by itself, "Verizon" or "LTE" it works to search like it should, but when they're together, it returns zero results, instead of including both items.
this is my current search, and is the same style as the link above
$(document).ready(function () {
//change event
$("#search").keyup(function () {
var val = $('#search').val();
$("#grid").data("kendoGrid").dataSource.filter({
logic: "or",
filters: [
{
field: "ServiceProviderName",
operator: "contains",
value: val
},
{
field: "ManufacturerName",
operator: "contains",
value: val
},
{
field: "ModelNumber",
operator: "contains",
value: val
},
{
field: "ModelName",
operator: "contains",
value: val
},
{
field: "Technology",
operator: "contains",
value: val
},
{
field: "OSTypeName",
operator: "contains",
value: val
}
]
});
});
});
is this a limitation of Kendo grid filtering?