You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/grid/filter/overview.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,13 @@ In addition to the two main filtering modes, the grid offers two more features t
35
35
36
36
* 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.
37
37
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
+
38
45
## Custom Filtering
39
46
40
47
There are two approaches to customize the grid filtering behavior, and you can use them together:
0 commit comments