New to Telerik UI for Blazor? Download Free 30-day trial
Grid - SearchBox
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Configurator
Clear SearchBox
Search by `Con`
Placeholder
Width
Debounce Delay
CategoryId | CategoryName | Description |
---|
1 | Beverages | Soft drinks, coffees, teas, beers, and ales |
2 | Condiments | Sweet and savory sauces, relishes, spreads, and seasonings |
3 | Confections | Desserts, candies, and sweet breads |
4 | Dairy Products | Cheeses |
5 | Grains/Cereals | Breads, crackers, pasta, and cereal |
6 | Meat/Poultry | Prepared meats |
7 | Produce | Dried fruit and bean curd |
8 | Seafood | Seaweed and fish |
- Searchbox.razor
- CategoryService.cs
- CategoryDto.cs
- ProductDto.cs
Loading the demo source code...please wait.
Description
One of the ways to filter the Telerik UI for Blazor Grid is by using the built-in Toolbar SearchBox. This feature allows you to type text in and it will show only the results that match what the input is, using the Contains case-insensitive operator. The search box is independent of the other filtering options so you can apply filters through the FilterRow or FilterMenu and the search box together. In addition, you have programatic control over the SearchBox through the GridState.
This Blazor Grid - SearchBox demo is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik Blazor components and their features in action. View the source code of each of the demos or directly adapt and edit them, including their theme appearance, in some of our dedicated playgrounds for Blazor projects - Telerik REPL for Blazor.