I used kendoui Grid and external filter using input box for search keyword.
I want to apply some style(ex. color: blue) to keywords in cells of kendoUI grid filtered by keyword in input box.
var q = iptManagerSearch.val(); // keyword value by user input
var grid = gridManagerUI.data("kendoGrid");
grid.dataSource.filter({
// page: 1,
// pageSize: 20,
logic: "or",
filters: [ // fields to be applied keyword from users input
{field:"ums_groups_name", operator:"contains", value:q},
{field:"name", operator:"contains", value:q},
{field:"id", operator:"contains", value:q},
{field:"organization", operator:"contains", value:q},
{field:"position", operator:"contains", value:q},
{field:"responsibility", operator:"contains", value:q},
{field:"mobilePhoneNumber", operator:"contains", value:q},
{field:"lastLogin", operator:"contains", value:q},
{field:"lastEntry", operator:"contains", value:q}
]
});
I did filter my grid by user's input.
after that I want to make all keywords( that matched with user's input keyword ) in each cell has 'color: blue'
How can I access style of keywords in cells of filtered grid. In case of my code, value is 'q'.
Thanks