New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Grid Filter Multi Checkboxes

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
filter_multi_checkboxes.cshtml
Filter_Multi_CheckboxesController.cs
ProductViewModel.cs
Filter_Multi_Checkboxes_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET Core Grid supports a multi-checkbox filter functionality, which allows you to filter a Grid column by using checkboxes.

To enable the multi-checkbox filter in the Filter menu of the Data Grid, specify the Filterable(ftb => ftb.Multi(true) setting for the relevant Data Grid columns, as demonstrated in this demo.

In addition, you can customize the Checkbox Filter Menu by combining the filter with an ItemTemplate("itemTemplate") definition, as shown with the Country column in the bottom Grid.

The .Filterable.Search(true); setting renders a search box in the multi-checkbox filter menu so that the data source of the checkboxes can be filtered.

For more information about the filtering capabilities, refer to the official Telerik UI for ASP.NET Core Data Grid product documentation on the available fltering approaches.

Additional Apps

This Grid example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources