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-only-one-filtermenu-option.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,19 @@ There are two options:
35
35
* Use a [custom filter template]({%slug grid-templates-filter%}). It provides full flexibility over the interface and building the filter descriptor.
36
36
* Use custom CSS to [override the theme]({%slug themes-override%}) and hide the elements that provide the and/or secondary conditions. The example below demonstrates this approach. Note that **the required CSS is different for different UI for Blazor versions**:
37
37
38
-
<divclass="skip-repl"></div>
39
-
40
-
/* UI for Blazor 3.0+ */
41
-
.k-filter-menu-container > span:nth-child(n+3) {
42
-
display: none;
43
-
}
44
-
45
-
/* UI for Blazor 2.30- */
46
-
.k-filter-menu-container > div > :nth-child(n+3) {
47
-
display: none;
48
-
}
38
+
<divclass="skip-repl"></div>
39
+
````CSS
40
+
<style>
41
+
/* UI for Blazor 3.0+ */
42
+
.k-filter-menu-container>span:nth-child(n+3) {
43
+
display: none;
44
+
}
45
+
/* UI for Blazor 2.30- */
46
+
.k-filter-menu-container>div>:nth-child(n+3) {
47
+
display: none;
48
+
}
49
+
</style>
50
+
````
49
51
50
52
>caption Hide And/Or filter options in the Grid/TreeList FilterMenu with CSS
Copy file name to clipboardExpand all lines: upgrade/breaking-changes/2-0-0.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Until now, you had to include things like `@using Telerik.Blazor.Components.<Com
31
31
32
32
As of the `2.0.0` version, you only need to add the following to your main **~/_Imports.razor** file, and you have to remove the `@using` statements per component:
33
33
34
-
````
34
+
````RAZOR
35
35
@using Telerik.Blazor
36
36
@using Telerik.Blazor.Components
37
37
````
@@ -147,7 +147,7 @@ This is a list of the components that had their child tags removed or renamed.
147
147
* The `TelerikGridEvents` and `EventsManager` tags are removed. The CRUD events of the grid are now available at its root-level tag, for example `<TelerikGrid OnRead=@ReadItems>`.
148
148
* All child tags that had `Telerik` as a prefix do not have that prefix anymore.
0 commit comments