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: knowledge-base/grid-kb-throttle-operations.md
+79-1Lines changed: 79 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ I want to specify a debounce time for filtering. This way I can (for example) se
27
27
This can be useful for filtering with remote data when using the FilterRow mode - it invokes a filter on every keystroke.
28
28
29
29
## Solution
30
-
There are two solutions to this:
30
+
There are three ideas on the basic approach how to do this:
31
31
32
32
* Use the [FilterMenu](https://demos.telerik.com/blazor-ui/grid/filter-menu) filtering mode because it fires filtering requests only when the user presses a button.
33
33
@@ -37,6 +37,8 @@ There are two solutions to this:
37
37
38
38
* Implement the desired throttling/debouncing in the [OnRead event](https://docs.telerik.com/blazor-ui/components/grid/manual-operations). Below is an example of this.
39
39
40
+
* Implement your own filtering (a second example is available below).
41
+
40
42
41
43
>caption Throttle grid data source requests
42
44
@@ -143,3 +145,79 @@ for example, whether the filters changed or something else, so you can throttle
143
145
}
144
146
````
145
147
148
+
>caption Own filtering in the grid (header template is used until a [filter template](https://feedback.telerik.com/blazor/1407773-custom-filter-components-filter-template) becomes available)
0 commit comments