Blazor Filter Overview
The Blazor Filter component serves as a complementary addition to data-bound components that do not have built-in filtering.
The component gives a unified way to build filter descriptors using its fields. You can also define different field operators and use these filter descriptors to filter data.
Creating Blazor Filter
- Use the
TelerikFiltertag to add the component to your razor page. - Set the
Valueparameter via one-way or two-way binding. - Add the
FilterFieldtag, a child tag of theFilterFields. - Set the
NameandTypeproperties.
A basic configuration of the Telerik Filter.
Fields
The fields are responsible for setting up the Filter information. Read more about the supported Blazor Filter fields...
Events
The Blazor Filter generates events that you can handle and further customize its behavior. Read more about the Blazor Filter events....
Filter Parameters
The Blazor Filter provides parameters that allow you to configure the component:
| Parameter | Type | Description |
|---|---|---|
Class | string | The class that will be rendered on the outermost element. |
Value | CompositeFilterDescriptor | Sets the value of the Filter component. |
Filter Reference and Methods
The Filter exposes methods for programmatic operation. To use them, define a reference to the component instance with the @ref directive attribute.
| Method | Description |
|---|---|
Rebind | Processes the component Value and updates the component UI. |
Using the Filter component reference and methods