Hi! I have created the following function to search for a row in the Grid making use of the filter columns method and an OR flag and assign that to a search button. So I put in the keyword and it searched through the entire list with paging. But after the search, it doesn't display the result on the grid screen. But there is a page one link at the bottom left corner of the grid. I will see the result when I click on that link. How do I make it default to be displayed on the grid without doing the above interaction? What did I miss?? Thanks!
function searchRecord(searchdata) {
$("#gridReviewers").data("kendoGrid").dataSource.filter( {logic: "or",
filters: [ {field: "username", operator: "eq", value:searchdata.key },
{field: "email", operator: "eq", value:searchdata.key },
{field: "name", operator: "eq", value:searchdata.key } ] } );
$("#gridReviewers").data("kendoGrid").dataSource.read();
}
function searchRecord(searchdata) {
$("#gridReviewers").data("kendoGrid").dataSource.filter( {logic: "or",
filters: [ {field: "username", operator: "eq", value:searchdata.key },
{field: "email", operator: "eq", value:searchdata.key },
{field: "name", operator: "eq", value:searchdata.key } ] } );
$("#gridReviewers").data("kendoGrid").dataSource.read();
}