By default, the filtering functionality of the Kendo UI Grid for ASP.NET Core is disabled.

To control filtering in the Grid, use the Filterable property.

    .Filterable() // Enables the Menu filter mode

The filtering of the Grid supports the Menu and Row modes. To configure the filter mode, use the Filterable->Mode property.

You can enable checkbox list filtering in the filter menu of the Grid HtmlHelper by specifying the Multi(true) setting for the relevant Grid columns.

columns.Bound(p => p.UnitsInStock).Width(140).Filterable(ftb => ftb.Multi(true).CheckAll(true));

Each Filterable configuration of the columns allows the setting of a custom DataSource.

columns.Bound(e => e.LastName).Width(220).Filterable(ftb => ftb.Multi(true)
    .DataSource(ds => ds.Read(r => r.Action("Unique", "Grid").Data("{ field: 'LastName' }")))
);            .ShowIndexes(true))

See Also

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