New to Telerik UI for Blazor? Download Free 30-day trial
Grid - Filter CheckBoxList
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Product Name | Product Id | Category | Reorder Level | Unit Price | Units In Stock |
---|
Chai | 1 | Beverages | 10 | 18 | 39 |
Chang | 2 | Beverages | 25 | 19 | 17 |
Aniseed Syrup | 3 | Condiments | 25 | 10 | 13 |
Chef Anton's Cajun Seasoning | 4 | Condiments | 0 | 22 | 53 |
Chef Anton's Gumbo Mix | 5 | Condiments | 0 | 21.35 | 0 |
Grandma's Boysenberry Spread | 6 | Condiments | 25 | 25 | 120 |
Uncle Bob's Organic Dried Pears | 7 | Produce | 10 | 30 | 15 |
Northwoods Cranberry Sauce | 8 | Condiments | 0 | 40 | 6 |
Mishi Kobe Niku | 9 | Meat/Poultry | 0 | 97 | 29 |
Ikura | 10 | Seafood | 0 | 31 | 31 |
- Filter-checkboxlist.razor
- ProductService.cs
- ProductDto.cs
Loading the demo source code...please wait.
Description
Filtering is one of the core functionalities of the Telerik Grid for Blazor. The component allows you to choose from three distinct filtering modes:
- FilterRow
- FilterMenu
- FilterCheckBoxList
Distinct
values of the column and put them in a list of checkboxes for the user to select. This lets them chose values without prior knowledge of the data in a familiar Excel-like fashion.To enable this mode, set the FilterMenuType
parameter to FilterMenuType.CheckBoxList
. It is available at the grid level, and on each column, so you can chose for which columns to use that mode, and for which to keep the default filter menu.
This Blazor Data Grid Filter CheckBoxList example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor 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 Blazor or ThemeBuilder.