New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid Filter Multi Checkboxes
-
EXAMPLEVIEW SOURCE
- EDIT IN
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The ASP.NET Core DataGrid 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.