http://demos.kendoui.com/web/grid/filter-menu-customization.html
In your grid demo for filter menu customisation you define grid columns as follows:
@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.EmployeeViewModel>()
.Name("Grid")
.Columns(columns => {
columns.Template(@<text>@item.FirstName @item.LastName</text>)
.ClientTemplate("#=FirstName# #=LastName#")
.Title("Name");
columns.Bound(e => e.City)
.Filterable(filterable => filterable.UI("cityFilter"))
.Width(200);
However, the Filterable method on a column only accepts a bool as an input value.
The code in this demo is not possible.
In your grid demo for filter menu customisation you define grid columns as follows:
@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.EmployeeViewModel>()
.Name("Grid")
.Columns(columns => {
columns.Template(@<text>@item.FirstName @item.LastName</text>)
.ClientTemplate("#=FirstName# #=LastName#")
.Title("Name");
columns.Bound(e => e.City)
.Filterable(filterable => filterable.UI("cityFilter"))
.Width(200);
However, the Filterable method on a column only accepts a bool as an input value.
The code in this demo is not possible.