Hello,
we have a grid with client databinding. Backend is a WCF web service.
The requirement is, the client side column filter setting(user has a filter text in the column Title) shall be restored if the page has been reloaded(for example after adding a new item).
But the Contains-filter doesn't work with part-match. It works only if the filter-text equals the Title(full match). It is the same with StartWith-filter.
What wasI wrong?
The Telerik.Web.UI assembly version is 2015.2.826.45
Please help. Thanks.
function
applyFilter() {
var
grid = $find(
"<%= RadGrid_PublishedDocuments.ClientID %>"
);
var
tableView = grid.get_masterTableView();
var
column = tableView.getColumnByUniqueName(
"Title"
);
column.set_filterFunction(
"Contains"
);
tableView.filter(
"Title"
,
"dcr"
, Telerik.Web.UI.GridFilterFunction.Contains,
true
);
tableView.rebind();
}