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/filtering.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,20 @@ position: 22
10
10
11
11
# Grid Filtering
12
12
13
-
The Grid component offers support for filtering.
13
+
The Grid component offers built-in support for filtering.
14
14
15
-
To enable filtering, set the grid's `Filterable` property to `true`.
15
+
To enable filtering, set the grid's `FilterMode` property to one of the following values:
16
16
17
-
There are two filtering modes:
18
-
19
-
*[`FilterRow`](#filter-row) (default) - a row of filter options is rendered below the column headers
20
-
*[`FilterMenu`](#filter-menu) - the column headers render a button that shows a popup with filtering options
17
+
*[`Telerik.Blazor.FilterMode.FilterRow`](#filter-row) - a row of filter options is rendered below the column headers
18
+
*[`Telerik.Blazor.FilterMode.FilterMenu`](#filter-menu) - the column headers render a button that shows a popup with filtering options
21
19
22
20
The behavior of the filter input and the available filter operators will depend on the column data type. For example, a boolean field will only have the options "is true" and "is false" and will not have operators like "contains" or "greater than".
23
21
24
22
You can filter more than one column at a time, and all filter rules will be applied together with an `AND` logic.
25
23
26
24
## Filter Row
27
25
28
-
The filter row is the default filter behavior of the grid. It corresponds to setting the `FilterMode` property of the grid to `Telerik.Blazor.FilterMode.FilterMenu`.
26
+
To enable the filter row set the `FilterMode` property of the grid to `Telerik.Blazor.FilterMode.FilterMenu`.
29
27
30
28
The grid will render a row below the column headers with UI that you can use to fill in the filter criteria. You can type in the input to execute the default operator as you type, or click a button to choose a different filter operator (like "contains", "greater than" and so on).
31
29
@@ -36,7 +34,7 @@ Once a filter is a applied to a column, a button will appear that lets you clear
0 commit comments