Skip to content

Commit 5f405aa

Browse files
dimodiDimo Dimov
andauthored
Improve filter descriptors information (#484)
Co-authored-by: Dimo Dimov <[email protected]>
1 parent 5779287 commit 5f405aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/grid/filter/overview.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ In addition to the two main filtering modes, the grid offers two more features t
3535

3636
* The filter menu can show a [list of checkboxes]({%slug grid-checklist-filter%}) with the distinct values from the data to make filtering resemble Excel.
3737

38+
## Filter Descriptors
39+
40+
The Grid filter state is stored in two types of filter descriptors. The below information is important if you want to [get or change the Grid filters programmatically]({%slug grid-state%}).
41+
42+
* [Filter rows]({%slug grid-filter-row%}) use [FilterDescriptors](https://docs.telerik.com/blazor-ui/api/Telerik.DataSource.FilterDescriptor). Each `FilterDescriptor` contains **one** filtering criterion for one field (`Member`).
43+
* The [SearchBox]({%slug grid-searchbox%}) and [filter menus]({%slug grid-filter-menu%}) use [CompositeFilterDescriptors](https://docs.telerik.com/blazor-ui/api/Telerik.DataSource.CompositeFilterDescriptor). Each `CompositeFilterDescriptor` contains a [**collection** of `FilterDescriptor`s](https://docs.telerik.com/blazor-ui/api/Telerik.DataSource.FilterDescriptorCollection) which can target the same field or different fields. All descriptors in the collection are applied with an *AND* or an *OR* `LogicalOperator`.
44+
3845
## Custom Filtering
3946

4047
There are two approaches to customize the grid filtering behavior, and you can use them together:

0 commit comments

Comments
 (0)