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
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,11 @@ The Grid component offers support for filtering.
14
14
15
15
To enable sorting, set the grid's `Filterable` property to `true`.
16
16
17
-
The grid will render a row below the column headers with UI that you can use to fill in filter criteria and then you can click a button to execute the filter. Once a filter is a applied to a column, a button will appear that lets you clear that filter.
17
+
The grid will render a row below the column headers with UI that you can use to fill in the filter criteria. You can click outside of the filter to execute the default operator, or click a button to choose a different filter operator (like "contains", "greater than" and so on).
18
18
19
-
The behavior of the filter header will depend on the column data type:
19
+
Once a filter is a applied to a column, a button will appear that lets you clear that filter.
20
20
21
-
*`string` - the filter is `Contains`. A [Telerik TextBox]({%slug components/textbox/overview%}) component is used.
22
-
*`number` - the filter is `EqualsTo`. A [Telerik Numeric TextBox]({%slug components/numerictextbox/overview%}) component is used.
23
-
*`DateTime` - the filter is `EqualsTo`. A [Telerik Date Input]({%slug components/dateinput/overview%}) component is used.
21
+
The behavior of the filter header 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".
24
22
25
23
You can filter more than one column at a time, and all filter rules will be applied together with an `AND` logic.
26
24
@@ -34,6 +32,7 @@ You can filter more than one column at a time, and all filter rules will be appl
0 commit comments