I have a situation where I want to allow a grid to be "pre-filtered" based on an optional value passed into the query string. I found an example, but it is only partially working. The code that applies the filter is below. It works in that the grid only shows the appropriate records. However, it works different than a user applied filter. The filter icon in the column header is not highlighted. And when I click the filter icon, neither the filter operator or filter text appears in filter popup. Is there a way to make it work like a user applied filter so the user can change or clear it?
var f = new Kendo.Mvc.FilterDescriptor("OfficeDesc", Kendo.Mvc.FilterOperator.IsEqualTo, pOfficeDesc);
request.Filters.Add(f);
Thanks,
Ray