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: controls/multicolumncombobox/functionality/filtering.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,16 @@ position: 2
13
13
**RadMultiColumnComboBox** lets the user type a search query in the input and it will filter the data source so only relevant items are shown. By default, the filter operation is performed on the client, over the current data. You can also use [server filtering](#server-filtering).
14
14
15
15
To enable filtering:
16
+
16
17
1. set the `Filter` property to the desired filter operation:
18
+
17
19
*`contains`
18
20
*`startsWith`
19
21
*`endsWith`
20
22
*`eq`
21
23
22
24
Setting it to `none` will disable filtering.
25
+
23
26
2. set the `FilterFields` property to a comma-separated list of the data source fields whose values you want to be used for comparing against the user input
24
27
25
28
The `MinLength` property defines the minimum input length before the filter operation is performed.
@@ -58,13 +61,16 @@ When you set the `EnableServerFiltering` property to `true`, filtering will requ
58
61
59
62
This can be useful when there is a lot of data that would slow down the browser by creating a lot of elements, or would be costly to the server. Combined with `MinLength`, you can improve the performance for both the client, and the server.
60
63
61
-
The server filtering requires binding to a web service, and it will result in GET requests where querystring parameters will denote the filtered field and operator. For example, if the `ProductName` field is set as the `DataValueField`, `Filter` is `contains` and the user inut us `che`, the parameter added to the URL will look something like `&$filter=substringof('che',tolower(ProductName))"`.
64
+
The server filtering requires binding to a web service, and it will result in GET requests where querystring parameters will denote the filtered field and operator. For example, if the `ProductName` field is set as the `DataValueField`, `Filter` is `contains` and the user input is `che`, the parameter added to the URL will look something like `&$filter=substringof('che',tolower(ProductName))"`.
65
+
66
+
With server filtering, RadMultiColumnComboBox will not request the data when initializing, only when the user types in a search string of sufficient length (see `MinLength`). This is done by setting the `autoBind` property of the underlying Kendo widget to `false`.
0 commit comments