Filtering

Apart from the standard filter options, the MultiColumnComboBox allows you to set fields against which the data will be filtered.

The option accepts an array of strings.

@(Html.Kendo().MultiColumnComboBox()
    .Name("multicolumncombobox")
    .Filter("contains")
    .FilterFields(new string[] { "ContactName", "ContactTitle" })
    .Columns(columns =>
    {
        columns.Add().Field("ContactName").Title("Contact Name").Width("200px")
        columns.Add().Field("ContactTitle").Title("Contact Title").Width("200px");
        columns.Add().Field("CompanyName").Title("Company Name").Width("200px");
        columns.Add().Field("Country").Title("Country").Width("200px");
    })
    .DataSource(source => source
        .Read(read => read.Action("Products_Read", "MultiColumnComboBox"))
        .ServerFiltering(true)
    )
)

See Also

In this article
Not finding the help you need? Improve this article